aboutsummaryrefslogtreecommitdiff
path: root/coreutils/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/Config.in')
-rw-r--r--coreutils/Config.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/coreutils/Config.in b/coreutils/Config.in
index 1e32e2664..fe481ffe1 100644
--- a/coreutils/Config.in
+++ b/coreutils/Config.in
@@ -115,6 +115,22 @@ config FEATURE_DATE_ISOFMT
115 Enable option (-I) to output an ISO-8601 compliant 115 Enable option (-I) to output an ISO-8601 compliant
116 date/time string. 116 date/time string.
117 117
118config FEATURE_DATE_COMPAT
119 bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format"
120 default y
121 depends on DATE
122 help
123 System time can be set by 'date -s DATE' and simply 'date DATE',
124 but formats of DATE string are different. 'date DATE' accepts
125 a rather weird MMDDhhmm[[YY]YY][.ss] format with completely
126 unnatural placement of year between minutes and seconds.
127 date -s (and other commands like touch -d) use more sensible
128 formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss).
129
130 With this option off, 'date DATE' is 'date -s DATE' support
131 the same format. With it on, 'date DATE' additionally supports
132 MMDDhhmm[[YY]YY][.ss] format.
133
118config DD 134config DD
119 bool "dd" 135 bool "dd"
120 default n 136 default n