This is an automated email from the ASF dual-hosted git repository.
digro pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new ca5aee8 Added startdate Reiwa era to gengou_eraArray
ca5aee8 is described below
commit ca5aee89f915a1c23d6e35736bc5cfe0735a8500
Author: DiGro <[email protected]>
AuthorDate: Fri Mar 5 15:28:43 2021 +0100
Added startdate Reiwa era to gengou_eraArray
The startdate for the era Reiwa, that started May, 1 2019, needs to be
added to the gengou_eraArray variable to get it show the correct date in Jp
localization
---
main/i18npool/source/calendar/calendar_gregorian.cxx | 1 +
1 file changed, 1 insertion(+)
diff --git a/main/i18npool/source/calendar/calendar_gregorian.cxx
b/main/i18npool/source/calendar/calendar_gregorian.cxx
index fcf68ca..36c4245 100644
--- a/main/i18npool/source/calendar/calendar_gregorian.cxx
+++ b/main/i18npool/source/calendar/calendar_gregorian.cxx
@@ -218,6 +218,7 @@ static Era gengou_eraArray[] = {
{1912, 7, 30},
{1926, 12, 25},
{1989, 1, 8},
+ {2019, 5, 1},
{0, 0, 0}
};
Calendar_gengou::Calendar_gengou() : Calendar_gregorian(gengou_eraArray)