From: Steven Baltakatei Sandoval Date: Tue, 29 Nov 2022 07:45:45 +0000 (+0000) Subject: fix(user/bkdatev):Unset LC_TIME so date can use locale-specific %c X-Git-Tag: 0.6.0~6 X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/06ff9ce109f7151e0ddf2dfcf9ad8f811a40d989?ds=inline;hp=--cc fix(user/bkdatev):Unset LC_TIME so date can use locale-specific %c --- 06ff9ce109f7151e0ddf2dfcf9ad8f811a40d989 diff --git a/user/bkdatev b/user/bkdatev index 5174fad..22ff310 100755 --- a/user/bkdatev +++ b/user/bkdatev @@ -2,7 +2,7 @@ # Desc: Baltakatei's verbose date command # Usage: bkdatev [args] # Example: bkdatev --date="2001-09-11T09:02:59-04" -# Version: 0.2.1 +# 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 @@ -44,6 +44,7 @@ print_dateline() { }; # 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