aboutsummaryrefslogtreecommitdiff
path: root/coreutils/date.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/date.c')
-rw-r--r--coreutils/date.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/coreutils/date.c b/coreutils/date.c
index c658d000b..0fb9f1f00 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -22,16 +22,16 @@
22//config: bool "date (7.1 kb)" 22//config: bool "date (7.1 kb)"
23//config: default y 23//config: default y
24//config: help 24//config: help
25//config: date is used to set the system date or display the 25//config: date is used to set the system date or display the
26//config: current time in the given format. 26//config: current time in the given format.
27//config: 27//config:
28//config:config FEATURE_DATE_ISOFMT 28//config:config FEATURE_DATE_ISOFMT
29//config: bool "Enable ISO date format output (-I)" 29//config: bool "Enable ISO date format output (-I)"
30//config: default y 30//config: default y
31//config: depends on DATE 31//config: depends on DATE
32//config: help 32//config: help
33//config: Enable option (-I) to output an ISO-8601 compliant 33//config: Enable option (-I) to output an ISO-8601 compliant
34//config: date/time string. 34//config: date/time string.
35//config: 35//config:
36//config:# defaults to "no": stat's nanosecond field is a bit non-portable 36//config:# defaults to "no": stat's nanosecond field is a bit non-portable
37//config:config FEATURE_DATE_NANO 37//config:config FEATURE_DATE_NANO
@@ -40,23 +40,23 @@
40//config: depends on DATE # syscall(__NR_clock_gettime) 40//config: depends on DATE # syscall(__NR_clock_gettime)
41//config: select PLATFORM_LINUX 41//config: select PLATFORM_LINUX
42//config: help 42//config: help
43//config: Support %[num]N format specifier. Adds ~250 bytes of code. 43//config: Support %[num]N format specifier. Adds ~250 bytes of code.
44//config: 44//config:
45//config:config FEATURE_DATE_COMPAT 45//config:config FEATURE_DATE_COMPAT
46//config: bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format" 46//config: bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format"
47//config: default y 47//config: default y
48//config: depends on DATE 48//config: depends on DATE
49//config: help 49//config: help
50//config: System time can be set by 'date -s DATE' and simply 'date DATE', 50//config: System time can be set by 'date -s DATE' and simply 'date DATE',
51//config: but formats of DATE string are different. 'date DATE' accepts 51//config: but formats of DATE string are different. 'date DATE' accepts
52//config: a rather weird MMDDhhmm[[YY]YY][.ss] format with completely 52//config: a rather weird MMDDhhmm[[YY]YY][.ss] format with completely
53//config: unnatural placement of year between minutes and seconds. 53//config: unnatural placement of year between minutes and seconds.
54//config: date -s (and other commands like touch -d) use more sensible 54//config: date -s (and other commands like touch -d) use more sensible
55//config: formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss). 55//config: formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss).
56//config: 56//config:
57//config: With this option off, 'date DATE' is 'date -s DATE' support 57//config: With this option off, 'date DATE' is 'date -s DATE' support
58//config: the same format. With it on, 'date DATE' additionally supports 58//config: the same format. With it on, 'date DATE' additionally supports
59//config: MMDDhhmm[[YY]YY][.ss] format. 59//config: MMDDhhmm[[YY]YY][.ss] format.
60 60
61//applet:IF_DATE(APPLET(date, BB_DIR_BIN, BB_SUID_DROP)) 61//applet:IF_DATE(APPLET(date, BB_DIR_BIN, BB_SUID_DROP))
62 62