[Pkg-javascript-devel] Bug#927034: simile-timeline: lack of Japan's new era 令和 (Reiwa)

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Sun Apr 14 00:01:36 BST 2019


Source: simile-timeline
Version: 2.3.0+dfsg1-2
Severity: important

Dear Maintainer,

Japan's new era 令和 (Reiwa) will be started at 2019/5/1 [0].
However this package doesn't support yet.
I created a patch which support this.
Could you check this patch and apply?

[0]: https://japan.kantei.go.jp/98_abe/statement/201904/_00001.html

Best regards,
    Nobuhiro

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, riscv64, armhf

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.utf8, LC_CTYPE=ja_JP.utf8 (charmap=UTF-8), LANGUAGE=ja_JP.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
diff --git a/src/webapp/api/scripts/ext/japanese-eras.js b/src/webapp/api/scripts/ext/japanese-eras.js
index 92027ac..17f532a 100644
--- a/src/webapp/api/scripts/ext/japanese-eras.js
+++ b/src/webapp/api/scripts/ext/japanese-eras.js
@@ -391,5 +391,6 @@ Timeline.JapaneseEraDateLabeller._eras = new Timeline.SortedArray(
         { startingYear: 1912, japaneseName: '大正', romanizedName: "Taishō" },
         { startingYear: 1926, japaneseName: '昭和', romanizedName: "Shōwa" },
         { startingYear: 1989, japaneseName: '平成', romanizedName: "Heisei" }
+        { startingYear: 2019, japaneseName: '令和', romanizedName: "Reiwa" }
     ]
 );


More information about the Pkg-javascript-devel mailing list