Bravo!
After
-------------- sudo locale-gen nan_TW@Latn --------------
I tested LC_TIME with the following commands:
-------------- export LC_TIME=nan_TW@Latn [Enter] --------------
(1) local command -------------- locale -ck LC_TIME [Enter]
abday="lp;p1;p2;p3;p4;p5;p6" day="lé-pài-ji̍t;pài-it;pài-jī;pài-saⁿ;pài-sì;pài-gō͘;pài-la̍k" abmon="1g;2go;3go;4go;5go;6go;7go;8go;9go;10g;11g;12g" mon="chiaⁿ-goe̍h;jī-goe̍h;saⁿ-goe̍h;sì-goe̍h;gō͘-goe̍h;la̍k-goe̍h;chhit-goe̍h;peh-goe̍h;káu-goe̍h;cha̍p-goe̍h;cha̍p-it-goe̍h;cha̍p-jī-goe̍h" am_pm="téng-po͘;ē-po͘" d_t_fmt="%a %d %b %Y %r %Z" d_fmt="%m/%d/%y" t_fmt="%r" t_fmt_ampm="%I:%M:%S %p" era= era_year="" era_d_fmt="" alt_digits= era_d_t_fmt="" era_t_fmt="" time-era-num-entries=0 time-era-entries="l" week-ndays=7 week-1stday=19971130 week-1stweek=0 first_weekday=1 first_workday=1 cal_direction=1 timezone="" date_fmt="%a %b %e %H:%M:%S %Z %Y" time-codeset="UTF-8" ------------------- in which:
abmon="1g;2go;3go;4go;5go;6go;7go;8go;9go;10g;11g;12g"
should be:
abmon "1g;2g;3g;4g;5g;6g;7g;8g;9g;10g;11g;12g"
or
abmon "01g;02g;03g;04g;05g;06g;07g;08g;09g;10g;11g;12g"
(2) date command:
--------------- date [Enter]
p4 10g 23 21:49:52 CST 2008 ----------------
the output (date_fmt?) should be
2008 10g 23 p4 21:49:52 TST
or something like
2008 10g 23 (p4) 21:49:52 TST
2008-10-23 (4) 21:49:52 TST
in which, the timezone (LC_TIME timezone?) should be TST (Taiwan Standard Time; please refer to http://www.cwb.gov.tw/) rather than CST.
(3) date +%x command:
--------------- date +%x [Enter]
10/23/08 ----------------
the output (d_fmt?) should be
2008-10-23
2008 10g 23
(4) date +%c command:
--------------- date +%c [Enter]
p4 23 10g 2008 10:09:51 ē-po͘ CST ----------------
similiar problem like date command
the output (d_t_fmt?) should be something like
2008 10g 23 (p4) 22:09:51 TST
Thanks!
Bravo!
After
--------------
sudo locale-gen nan_TW@Latn
--------------
I tested LC_TIME with the following commands:
--------------
export LC_TIME=nan_TW@Latn [Enter]
--------------
(1) local command
--------------
locale -ck LC_TIME [Enter]
abday=" lp;p1;p2; p3;p4;p5; p6" pài-ji̍ t;pài-it; pài-jī; pài-saⁿ; pài-sì; pài-gō͘ ;pài-la̍ k" 1g;2go; 3go;4go; 5go;6go; 7go;8go; 9go;10g; 11g;12g" goe̍h;jī- goe̍h;saⁿ- goe̍h;sì- goe̍h;gō͘ -goe̍h; la̍k-goe̍ h;chhit- goe̍h;peh- goe̍h;káu- goe̍h;cha̍ p-goe̍h; cha̍p-it- goe̍h;cha̍ p-jī-goe̍ h" téng-po͘ ;ē-po͘" "%I:%M: %S %p" num-entries= 0 entries= "l" 19971130 "UTF-8"
day="lé-
abmon="
mon="chiaⁿ-
am_pm="
d_t_fmt="%a %d %b %Y %r %Z"
d_fmt="%m/%d/%y"
t_fmt="%r"
t_fmt_ampm=
era=
era_year=""
era_d_fmt=""
alt_digits=
era_d_t_fmt=""
era_t_fmt=""
time-era-
time-era-
week-ndays=7
week-1stday=
week-1stweek=0
first_weekday=1
first_workday=1
cal_direction=1
timezone=""
date_fmt="%a %b %e %H:%M:%S %Z %Y"
time-codeset=
-------------------
in which:
abmon=" 1g;2go; 3go;4go; 5go;6go; 7go;8go; 9go;10g; 11g;12g"
should be:
abmon "1g;2g; 3g;4g;5g; 6g;7g;8g; 9g;10g; 11g;12g"
or
abmon "01g;02g; 03g;04g; 05g;06g; 07g;08g; 09g;10g; 11g;12g"
(2) date command:
---------------
date [Enter]
p4 10g 23 21:49:52 CST 2008
----------------
the output (date_fmt?) should be
2008 10g 23 p4 21:49:52 TST
or something like
2008 10g 23 (p4) 21:49:52 TST
or something like
2008-10-23 (4) 21:49:52 TST
in which, the timezone (LC_TIME timezone?) should be TST (Taiwan Standard Time; please refer to http:// www.cwb. gov.tw/) rather than CST.
(3) date +%x command:
---------------
date +%x [Enter]
10/23/08
----------------
the output (d_fmt?) should be
2008-10-23
or
2008 10g 23
(4) date +%c command:
---------------
date +%c [Enter]
p4 23 10g 2008 10:09:51 ē-po͘ CST
----------------
similiar problem like date command
the output (d_t_fmt?) should be something like
2008 10g 23 (p4) 22:09:51 TST
Thanks!