[Libreoffice-bugs] [Bug 125446] Support to Korean Traditional Calendar, Dan-gi(단기/檀紀) Calendar on LibreOffice

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 22 17:22:03 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=125446

--- Comment #2 from DaeHyun Sung <sungdh86 at gmail.com> ---
In Additional,  add two Dangi Cell attributes
If Today is May 4, 2019, then

"4352-05-04", When Cell attributes sets [$-0]YYYY/MM/DD;@
"4352-5-4", When Cell attributes sets [$-0]YY/M/D;@


Total 6 Dangi Calendar Cell attributes pattern on MS Excel And Hancom Hancell
"4352-05-04", When Cell attributes sets [$-0]YYYY/MM/DD;@
"4352-5-4", When Cell attributes sets [$-0]YY/M/D;@
"4352년 5월 4일 토요일", When Cell attributes sets [$-412]YYYY"년" M"월" D"일" DDDD;@
"4352년 5월 4일", When Cell attributes sets [$-0]YYYY"년" M"월" D"일";@
"4352년 05월 04일 토요일", When Cell attributes sets  [$-412]YYYY"년" MM"월" DD"일"
DDDD;@
"4352년 05월 04일", When Cell attributes sets   [$-0]YYYY"년" MM"월" DD"일";@

(In reply to DaeHyun Sung from comment #0)
> Description:
> Support to Korean Traditional Calendar, Dan-gi(단기/檀紀) Calendar on LibreOffice
> 
> The era name, Dangi(단기,檀紀) originating from the foundation of
> Gojoseon[고조선/古朝鮮] is also widely used in Korea as an indication of long
> civilization of Korea.
> Full name: Dangun-giwon (단군기원, 檀君紀元 "First Age of Lord Dangun" : 1948-1961)
> Abbreviation Name: Dangi(단기,檀紀)
> The Dangi Calendar measures years from the ancient founding of Korea in 2333
> B.C.
> 
> Until 1961, Republic of Korea(대한민국/大韓民國, a.k.a. South Korea) officially used
> to Dangi(단기/檀紀) era 
> http://www.law.go.kr/법령/연호에관한법률/(00004,19480925)
> 年號에關한法律 [시행 1948. 9. 25.] [법률 제4호, 1948. 9. 25., 제정] 
> 大韓民國의 公用年號는 檀君紀元으로 한다. 
> 附則 <법률 제4호, 1948. 9. 25.> 本法은 公布日로부터 施行한다.
> 
> Nowaday, It's not official era in Korea, But, Private sector in Korea
> sometimes use it.
> 
> It supported on MS Windows & MS Office, Hancom Office Suite.
> Also, Windows 10 support Dangi Calendar.
> 
> ICU library support Dangi Calendar.
> ICU4C 50 http://bugs.icu-project.org/trac/ticket/9255
> ICU4J 51 http://bugs.icu-project.org/trac/ticket/9616 
> 
> Hancom is HWP software developed company, 
> MS Excel & Hancom Hancell(Hancom Office Suite's Spreadsheet)'s Dangi(단기/檀紀)
> Cell Property pattern
> 
> If Today is May 4, 2019, then
> It shows "4352년 5월 4일 토요일", When Cell attributes sets [$-412]YYYY"년" M"월"
> D"일" DDDD;@
> "4352년 5월 4일", When Cell attributes sets [$-0]YYYY"년" M"월" D"일";@
> "4352년 05월 04일 토요일", When Cell attributes sets  [$-412]YYYY"년" MM"월" DD"일"
> DDDD;@
> "4352년 05월 04일", When Cell attributes sets   [$-0]YYYY"년" MM"월" DD"일";@
> 
> 
> In Korea, MS OFffice, & Hancom Hancell uses that's cell attributes,
> LibreOffice should support to Dangi Calendar for Interoperation in Korea.
> 
> 
> Actual Results:
> Today is May 23, 2019.
> It shows "2019년 5월 23일 목요일", When Cell attributes sets [$-412]YYYY"년" M"월"
> D"일" DDDD;@
> "2019년 5월 23일", When Cell attributes sets [$-0]YYYY"년" M"월" D"일";@
> "2019년 05월 23일 목요일", When Cell attributes sets  [$-412]YYYY"년" MM"월" DD"일"
> DDDD;@
> "2019년 05월 23일", When Cell attributes sets   [$-0]YYYY"년" MM"월" DD"일";@
> 
> Expected Results:
> Today is May 23, 2019.
> It shows "4352년 5월 23일 목요일", When Cell attributes sets [$-412]YYYY"년" M"월"
> D"일" DDDD;@
> "4352년 5월 23일", When Cell attributes sets [$-0]YYYY"년" M"월" D"일";@
> "4352년 05월 23일 목요일", When Cell attributes sets  [$-412]YYYY"년" MM"월" DD"일"
> DDDD;@
> "4352년 05월 23일", When Cell attributes sets   [$-0]YYYY"년" MM"월" DD"일";@
> 
> 
> Reproducible: Always
> 
> 
> User Profile Reset: No
> 
> 
> 
> Additional Info:
> ICU4J
> https://ssl.icu-project.org/trac/changeset/32426
> Adding the traditional Korean calendar (Dangi) support to ICU4J.
> https://github.com/unicode-org/icu/commit/
> ed0ef7c2427078bb38211293e1ef090aab5e6f25#diff-
> f3f4352a0a0739dc705276a31851a473
> 
> below is ICU Library's Dangi Calendar
> The start year of the Korean traditional calendar (Dan-gi) is the inaugural
> year of Dan-gun (BC 2333).
> private static final int DANGI_EPOCH_YEAR = -2332;

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190522/49628c9b/attachment-0001.html>


More information about the Libreoffice-bugs mailing list