aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-11-11 10:07:01 -0800
committerRob Landley <rob@landley.net>2020-11-11 19:32:06 -0600
commit693eaf6c22a8a64645af6732731d6ef2a0432838 (patch)
treeb0659b8f937d36290ed77624269442397e553643 /toys
parent7f213d0d08686188a745ae1dfd886c792d16c5bf (diff)
downloadtoybox-693eaf6c22a8a64645af6732731d6ef2a0432838.tar.gz
date: add --utc (synonymous with -u)
Diffstat (limited to 'toys')
-rw-r--r--toys/posix/date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/date.c b/toys/posix/date.c
index f34c347f..5cf8591a 100644
--- a/toys/posix/date.c
+++ b/toys/posix/date.c
@@ -7,7 +7,7 @@
* Note: setting a 2 year date is 50 years back/forward from today,
* not posix's hardwired magic dates.
-USE_DATE(NEWTOY(date, "d:D:r:u[!dr]", TOYFLAG_BIN))
+USE_DATE(NEWTOY(date, "d:D:r:u(utc)[!dr]", TOYFLAG_BIN))
config DATE
bool "date"