chore(user/mw_create_redirect_day_month.sh):Add TODO comment
[BK-2020-03.git] / user / bkdatev
index f7152611a0331164bd2d798641e5a20fb9558250..22ff3103bdaeded393da434eec4d54af77e2d283 100755 (executable)
@@ -2,7 +2,7 @@
 # Desc: Baltakatei's verbose date command
 # Usage: bkdatev [args]
 # Example: bkdatev --date="2001-09-11T09:02:59-04"
 # Desc: Baltakatei's verbose date command
 # Usage: bkdatev [args]
 # Example: bkdatev --date="2001-09-11T09:02:59-04"
-# Version: 0.2.0
+# Version: 0.2.2
 # Ref/Attrib: [1] "ISO 8601". Wikipedia. https://en.wikipedia.org/wiki/ISO_8601
 #             [2] "Changing the Locale in Wine" https://stackoverflow.com/a/16428951
 #             [3] "Shanghai vs Beijing" https://bugs.launchpad.net/ubuntu/+source/libgweather/+bug/228554
 # Ref/Attrib: [1] "ISO 8601". Wikipedia. https://en.wikipedia.org/wiki/ISO_8601
 #             [2] "Changing the Locale in Wine" https://stackoverflow.com/a/16428951
 #             [3] "Shanghai vs Beijing" https://bugs.launchpad.net/ubuntu/+source/libgweather/+bug/228554
@@ -10,7 +10,7 @@
 #         * Check `cat /usr/share/i18n/SUPPORTED` for supported locales.
 #         * For list of valid locales, see: https://manpages.ubuntu.com/manpages/bionic/man3/DateTime::Locale::Catalog.3pm.html
 #         * Locations chosen for population, personal signifiance, and spatial coverage.
 #         * Check `cat /usr/share/i18n/SUPPORTED` for supported locales.
 #         * For list of valid locales, see: https://manpages.ubuntu.com/manpages/bionic/man3/DateTime::Locale::Catalog.3pm.html
 #         * Locations chosen for population, personal signifiance, and spatial coverage.
-#         # For International Atomic Time (TAI), use offsets from UTC provided in `/usr/share/zoneinfo/leap-seconds.list`.
+#         * For International Atomic Time (TAI), use offsets from UTC provided in `/usr/share/zoneinfo/leap-seconds.list`.
 
 line_sep() {
     # Input: var: n_ln
 
 line_sep() {
     # Input: var: n_ln
@@ -44,6 +44,7 @@ print_dateline() {
     }; # print line of dates
 main() {
     n_ln=0; # for line_sep()
     }; # print line of dates
 main() {
     n_ln=0; # for line_sep()
+    unset LC_TIME; # Fall back to time zone-specific locale settings.
     
     # format strings
     fs_iso8601="+%Y-%m-%dT%H:%M:%S%:::z"; # typical ISO-8601
     
     # format strings
     fs_iso8601="+%Y-%m-%dT%H:%M:%S%:::z"; # typical ISO-8601