summaryrefslogtreecommitdiffstats
path: root/tests/clock.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-05-07 07:19:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-05-07 07:19:10 (GMT)
commitf218c1f1ebf34e6f5820d88789b16104c954a071 (patch)
treea43a324514f7af0be7dad77194f448c956266a04 /tests/clock.test
parent4909a5cc242fe037cd6318457a6219dd63e3f2a6 (diff)
downloadtcl-f218c1f1ebf34e6f5820d88789b16104c954a071.zip
tcl-f218c1f1ebf34e6f5820d88789b16104c954a071.tar.gz
tcl-f218c1f1ebf34e6f5820d88789b16104c954a071.tar.bz2
(cherry-pick from8.6): Japanese Reiwa (令和) era
Diffstat (limited to 'tests/clock.test')
-rw-r--r--tests/clock.test22
1 files changed, 12 insertions, 10 deletions
diff --git a/tests/clock.test b/tests/clock.test
index a697714..f6cba28 100644
--- a/tests/clock.test
+++ b/tests/clock.test
@@ -36699,16 +36699,18 @@ test clock-58.1 {clock l10n - Japanese localisation} {*}{
}
-body {
set trouble {}
- foreach {date jdate} [list \
- 1872-12-31 \u897f\u66a61872\u5e7412\u670831\u65e5 \
- 1873-01-01 \u660e\u6cbb06\u5e7401\u670801\u65e5 \
- 1912-07-29 \u660e\u6cbb45\u5e7407\u670829\u65e5 \
- 1912-07-30 \u5927\u6b6301\u5e7407\u670830\u65e5 \
- 1926-12-24 \u5927\u6b6315\u5e7412\u670824\u65e5 \
- 1926-12-25 \u662d\u548c01\u5e7412\u670825\u65e5 \
- 1989-01-07 \u662d\u548c64\u5e7401\u670807\u65e5 \
- 1989-01-08 \u5e73\u621001\u5e7401\u670808\u65e5 \
- ] {
+ foreach {date jdate} {
+ 1872-12-31 \u897f\u66a61872\u5e7412\u670831\u65e5
+ 1873-01-01 \u660e\u6cbb06\u5e7401\u670801\u65e5
+ 1912-07-29 \u660e\u6cbb45\u5e7407\u670829\u65e5
+ 1912-07-30 \u5927\u6b6301\u5e7407\u670830\u65e5
+ 1926-12-24 \u5927\u6b6315\u5e7412\u670824\u65e5
+ 1926-12-25 \u662d\u548c01\u5e7412\u670825\u65e5
+ 1989-01-07 \u662d\u548c64\u5e7401\u670807\u65e5
+ 1989-01-08 \u5e73\u621001\u5e7401\u670808\u65e5
+ 2019-04-30 \u5e73\u621031\u5e7404\u670830\u65e5
+ 2019-05-01 \u4ee4\u548c01\u5e7405\u670801\u65e5
+ } {
set status [catch {
set secs [clock scan $date \
-timezone +0900 \