aboutsummaryrefslogtreecommitdiff
path: root/coreutils/date.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/date.c')
-rw-r--r--coreutils/date.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/coreutils/date.c b/coreutils/date.c
index ff3214d85..9d4a7dfea 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -8,8 +8,7 @@
8 * bugfixes and cleanup by Bernhard Reutner-Fischer 8 * bugfixes and cleanup by Bernhard Reutner-Fischer
9 * 9 *
10 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 10 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
11*/ 11 */
12
13/* This 'date' command supports only 2 time setting formats, 12/* This 'date' command supports only 2 time setting formats,
14 all the GNU strftime stuff (its in libc, lets use it), 13 all the GNU strftime stuff (its in libc, lets use it),
15 setting time using UTC and displaying it, as well as 14 setting time using UTC and displaying it, as well as
@@ -19,10 +18,6 @@
19/* Input parsing code is always bulky - used heavy duty libc stuff as 18/* Input parsing code is always bulky - used heavy duty libc stuff as
20 much as possible, missed out a lot of bounds checking */ 19 much as possible, missed out a lot of bounds checking */
21 20
22//applet:IF_DATE(APPLET(date, BB_DIR_BIN, BB_SUID_DROP))
23
24//kbuild:lib-$(CONFIG_DATE) += date.o
25
26//config:config DATE 21//config:config DATE
27//config: bool "date" 22//config: bool "date"
28//config: default y 23//config: default y
@@ -63,6 +58,10 @@
63//config: the same format. With it on, 'date DATE' additionally supports 58//config: the same format. With it on, 'date DATE' additionally supports
64//config: MMDDhhmm[[YY]YY][.ss] format. 59//config: MMDDhhmm[[YY]YY][.ss] format.
65 60
61//applet:IF_DATE(APPLET(date, BB_DIR_BIN, BB_SUID_DROP))
62
63//kbuild:lib-$(CONFIG_DATE) += date.o
64
66/* GNU coreutils 6.9 man page: 65/* GNU coreutils 6.9 man page:
67 * date [OPTION]... [+FORMAT] 66 * date [OPTION]... [+FORMAT]
68 * date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]] 67 * date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]