diff options
author | Karl Hong <khong@openoffice.org> | 2002-09-13 17:11:39 +0000 |
---|---|---|
committer | Karl Hong <khong@openoffice.org> | 2002-09-13 17:11:39 +0000 |
commit | 9aafe56dccd1470fc9fc12ef127b491dd6fc8274 (patch) | |
tree | ed11a03d0c7efb6d752af4f7bf9355ea245f56dc /i18npool/source/calendar | |
parent | e5b250261840bc9cbfd1b6aaa708ec1fec969b90 (diff) |
#102027# fix a typo in month conversion for non-gregorian calendar
Diffstat (limited to 'i18npool/source/calendar')
-rw-r--r-- | i18npool/source/calendar/calendar_gregorian.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/i18npool/source/calendar/calendar_gregorian.cxx b/i18npool/source/calendar/calendar_gregorian.cxx index 6ae1fd587f4a..9a9fa4ee9028 100644 --- a/i18npool/source/calendar/calendar_gregorian.cxx +++ b/i18npool/source/calendar/calendar_gregorian.cxx @@ -2,9 +2,9 @@ * * $RCSfile: calendar_gregorian.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: er $ $Date: 2002-09-06 14:17:59 $ + * last change: $Author: khong $ $Date: 2002-09-13 18:11:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -184,7 +184,7 @@ Calendar_gregorian::mapFromGregorian() throw(RuntimeException) e = fieldValue[CalendarFieldIndex::ERA]; y = fieldValue[CalendarFieldIndex::YEAR]; - m = fieldValue[CalendarFieldIndex::DAY_OF_MONTH] + 1; + m = fieldValue[CalendarFieldIndex::MONTH] + 1; d = fieldValue[CalendarFieldIndex::DAY_OF_MONTH]; // since the year is reversed for first era, it is reversed again here for Era compare. |