[Bug 11356] Busybox used in Motioneye - date setting keeps increasing the year
bugzilla at busybox.net
bugzilla at busybox.net
Sun Sep 23 18:12:24 UTC 2018
https://bugs.busybox.net/show_bug.cgi?id=11356
--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com> ---
'20180914' does not mean what you think it means. At least for busybox:
$ date --help
BusyBox v1.30.0.git (2018-08-01 13:57:11 CEST) multi-call binary.
Usage: date [OPTIONS] [+FMT] [TIME]
Display time (using +FMT), or set time
[-s,--set] TIME Set time to TIME
-u,--utc Work in UTC (don't convert to local time)
-R,--rfc-2822 Output RFC-2822 compliant date string
-I[SPEC] Output ISO-8601 compliant date string
SPEC='date' (default) for date only,
'hours', 'minutes', or 'seconds' for date and
time to the indicated precision
-r,--reference FILE Display last modification time of FILE
-d,--date TIME Display TIME, not 'now'
-D FMT Use FMT for -d TIME conversion
Recognized TIME formats:
hh:mm[:ss]
[YYYY.]MM.DD-hh:mm[:ss]
YYYY-MM-DD hh:mm[:ss]
[[[[[YY]YY]MM]DD]hh]mm[.ss]
20180914 matches only MMDDhhmm pattern.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list