<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Support to Korean Traditional Calendar, Dan-gi(단기/檀紀) Calendar on LibreOffice"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125446">125446</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Support to Korean Traditional Calendar, Dan-gi(단기/檀紀) Calendar on LibreOffice
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Calc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sungdh86@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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 
<a href="http://www.law.go.kr/법령/연호에관한법률/(00004,19480925">http://www.law.go.kr/법령/연호에관한법률/(00004,19480925</a>)
年號에關한法律 [시행 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 <a href="http://bugs.icu-project.org/trac/ticket/9255">http://bugs.icu-project.org/trac/ticket/9255</a>
ICU4J 51 <a href="http://bugs.icu-project.org/trac/ticket/9616">http://bugs.icu-project.org/trac/ticket/9616</a> 

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
<a href="https://ssl.icu-project.org/trac/changeset/32426">https://ssl.icu-project.org/trac/changeset/32426</a>
Adding the traditional Korean calendar (Dangi) support to ICU4J.
<a href="https://github.com/unicode-org/icu/commit/ed0ef7c2427078bb38211293e1ef090aab5e6f25#diff-f3f4352a0a0739dc705276a31851a473">https://github.com/unicode-org/icu/commit/ed0ef7c2427078bb38211293e1ef090aab5e6f25#diff-f3f4352a0a0739dc705276a31851a473</a>

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;</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>