From: Steven Baltakatei Sandoval Date: Fri, 11 Nov 2022 22:30:14 +0000 (+0000) Subject: feat(user/bkdatev):Add Taiwan and Pyongyang X-Git-Tag: 0.6.0~8 X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/20857531af4244e139063ea750d02daa3a253688?ds=inline;hp=--cc feat(user/bkdatev):Add Taiwan and Pyongyang --- 20857531af4244e139063ea750d02daa3a253688 diff --git a/user/bkdatev b/user/bkdatev index 0429acf..f715261 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.1.0 +# Version: 0.2.0 # 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 @@ -255,6 +255,14 @@ main() { print_dateline "$@"; ); line_sep; + # Taipei, Taiwan (pop (2019): 7,034,084) + ( + export TZ=Asia/Taipei; # [3] + export LANG="zh_TW.UTF-8"; + id="TAIPEI"; + print_dateline "$@"; + ); line_sep; + # Tokyo, Japan (pop. (2018): 37,274,000) ( export TZ=Asia/Tokyo; @@ -271,6 +279,14 @@ main() { print_dateline "$@"; ); line_sep; + # Pyongyang, North Korea + ( + export TZ=Asia/Pyongyang; + export LANG="ko_KP.UTF8"; + id="PYONGYANG"; + print_dateline "$@"; + ); line_sep; + # Sydney, Australia ( export TZ=Australia/Sydney;