[PATCH] date info
Denys Vlasenko
vda.linux at googlemail.com
Mon Mar 24 19:42:34 PDT 2008
On Monday 24 March 2008 16:09, James Simmons wrote:
>
> This patch reports what date formats are supported by the date command.
>
> diff -urwN busybox-1.10.0.orig/include/usage.h busybox-1.10.0/include/usage.h
> --- busybox-1.10.0.orig/include/usage.h 2008-03-21 21:31:50.000000000 -0400
> +++ busybox-1.10.0/include/usage.h 2008-03-24 11:21:24.000000000 -0400
> @@ -574,6 +574,13 @@
> "\n -s STRING Set time described by STRING" \
> "\n -r FILE Display the last modification time of FILE" \
> "\n -u Print or sets Coordinated Universal Time" \
> + "\nRecognized formats:\n" \
> + "\thh:mm:ss\n" \
> + "\thh:mm\n" \
> + "\tmon.day-hh:mm:ss\n" \
> + "\tmon.day-hh:mm\n" \
> + "\tyear.mon.day-hh:mm:ss\n" \
> + "\tyear.mon.day-hh:mm\n"
>
> #define date_example_usage \
> "$ date\n" \
applied, thanks!
--
vda
More information about the busybox
mailing list