---
toys/posix/date.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From 608089dae59b1587f3f6cdcf280cf157df77e3de Mon Sep 17 00:00:00 2001
From: Elliott Hughes
Date: Wed, 11 Nov 2020 10:07:01 -0800
Subject: [PATCH] date: add --utc (synonymous with -u)
---
toys/posix/date.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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"
--
2.29.2.222.g5d2a92d10f8-goog
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net