mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-13 11:40:25 +03:00
Set _DATE_FMT to '%+' if not defined in libspl/timestamp.c
Signed-off-by: Carlo Landmeter <clandmeter@gmail.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #4458
This commit is contained in:
parent
1a01c207cb
commit
43148eaef2
@ -28,6 +28,10 @@
|
|||||||
#include <langinfo.h>
|
#include <langinfo.h>
|
||||||
#include "statcommon.h"
|
#include "statcommon.h"
|
||||||
|
|
||||||
|
#ifndef _DATE_FMT
|
||||||
|
#define _DATE_FMT "%+"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Print timestamp as decimal reprentation of time_t value (-T u was specified)
|
* Print timestamp as decimal reprentation of time_t value (-T u was specified)
|
||||||
* or in date(1) format (-T d was specified).
|
* or in date(1) format (-T d was specified).
|
||||||
|
Loading…
Reference in New Issue
Block a user