[git commit] tests: musl doesn't seem to recognize UTC0 as a timezone
Denys Vlasenko
vda.linux at googlemail.com
Sun Oct 11 21:51:14 UTC 2026
commit: https://git.busybox.net/busybox/commit/?id=de40fe335093ec6bb8153b4b0a8ff89f5c455e19
branch: https://git.busybox.net/busybox/log/?h=master
UTC works though.
TODO: Figure out if musl /should/ regonize UTC0.
Signed-off-by: Sören Tempel <soeren+git at soeren-tempel.net>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
testsuite/date/date-timezone | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/testsuite/date/date-timezone b/testsuite/date/date-timezone
index 8628aa1d7..720ce4f26 100644
--- a/testsuite/date/date-timezone
+++ b/testsuite/date/date-timezone
@@ -1,17 +1,17 @@
# FEATURE: CONFIG_FEATURE_TIMEZONE
# 'Z' is UTC
-dt=$(TZ=UTC0 busybox date -d '1999-1-2 3:4:5Z')
+dt=$(TZ=UTC busybox date -d '1999-1-2 3:4:5Z')
dt=$(echo "$dt" | cut -b1-19)
test x"$dt" = x"Sat Jan 2 03:04:05"
# '+0600' is six hours ahead of UTC
-dt=$(TZ=UTC0 busybox date -d '1999-1-2 3:4:5 +0600')
+dt=$(TZ=UTC busybox date -d '1999-1-2 3:4:5 +0600')
dt=$(echo "$dt" | cut -b1-19)
test x"$dt" = x"Fri Jan 1 21:04:05"
# '-0600' is six hours behind UTC
-dt=$(TZ=UTC0 busybox date -d '1999-1-2 3:4:5 -0600')
+dt=$(TZ=UTC busybox date -d '1999-1-2 3:4:5 -0600')
dt=$(echo "$dt" | cut -b1-19)
test x"$dt" = x"Sat Jan 2 09:04:05"
More information about the busybox-cvs
mailing list