aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-04-16 05:05:51 +0200
committerdefault <nobody@localhost>2025-04-16 05:05:51 +0200
commitaa2539104d1a2c0c0bc985d269255fe7c3e00715 (patch)
tree9d0f5ae25e4debf6947300ea4d8e03639e9e4fad
parentc1cf7b28cf85e698993468e5b8dcb18d9f5d7a74 (diff)
Also added UTC+... timezones.
-rw-r--r--xs_time.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/xs_time.h b/xs_time.h
index 4347e09..a5792bc 100644
--- a/xs_time.h
+++ b/xs_time.h
@@ -148,6 +148,33 @@ struct {
{ "AEDT (Australian Daylight Eastern Time)", 11 },
{ "NZST (New Zealand Time)", 12 },
{ "NZDT (New Zealand Daylight Time)", 13 },
+ { "UTC", 0 },
+ { "UTC+1", 1 },
+ { "UTC+2", 2 },
+ { "UTC+3", 3 },
+ { "UTC+4", 4 },
+ { "UTC+5", 5 },
+ { "UTC+6", 6 },
+ { "UTC+7", 7 },
+ { "UTC+8", 8 },
+ { "UTC+9", 9 },
+ { "UTC+10", 10 },
+ { "UTC+11", 11 },
+ { "UTC+12", 12 },
+ { "UTC-1", -1 },
+ { "UTC-2", -2 },
+ { "UTC-3", -3 },
+ { "UTC-4", -4 },
+ { "UTC-5", -5 },
+ { "UTC-6", -6 },
+ { "UTC-7", -7 },
+ { "UTC-8", -8 },
+ { "UTC-9", -9 },
+ { "UTC-10", -10 },
+ { "UTC-11", -11 },
+ { "UTC-12", -12 },
+ { "UTC-13", -13 },
+ { "UTC-14", -14 },
{ "GMT", 0 },
{ "GMT+1", -1 },
{ "GMT+2", -2 },