Issue 86094 - Date is automatically decremented on input
Summary: Date is automatically decremented on input
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: editing (show other issues)
Version: OOo 3.1.1
Hardware: All Windows 7
: P3 Trivial (vote)
Target Milestone: ---
Assignee: oc
QA Contact: issues@sc
URL:
Keywords:
: 90627 103240 (view as issue list)
Depends on:
Blocks:
 
Reported: 2008-02-14 11:03 UTC by kpalagin
Modified: 2013-08-07 15:14 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description kpalagin 2008-02-14 11:03:02 UTC
(Follow up for issue 76623)
Using 2.4m6 on Vista with Russian localle and Moscow time zone Calc 
autodecrements date 01.07.1919 (and earlier) on input. Dates after 01.07.1919 
are fine.
Comment 1 rail_ooo 2008-02-14 11:21:03 UTC
add CC
Comment 2 kpalagin 2008-03-12 20:56:05 UTC
Hopefully we would not miss 3.0.
Comment 3 ooo 2008-03-13 12:42:52 UTC
Will try.
Comment 4 canis 2008-05-12 13:54:56 UTC
Two months left after last comment. Is there any progress?
Comment 5 ooo 2008-05-28 12:59:10 UTC
Not yet, other things to do. Stay tuned, as you're on Cc you'll be notified on
status changes.
Comment 6 ooo 2008-06-09 13:42:23 UTC
I can't reproduce this using DEV300_m15 on Windows XP, set Regional Settings to
Russian and Location to Russia. Did this vanish? Could someone check please?

Probably not doable in 3.0 time frame, retargeting to 3.1
Comment 7 ooo 2008-06-13 12:37:39 UTC
Not being able to reproduce it actually was my inability to operate Windows, as
it simply doesn't allow a non-admin user to change timezone.

I did reproduce it on Linux using TZ=Europe/Moscow

Reassigning to my spare time account and retargeting to 3.0 again.
Comment 8 ooo 2008-06-13 14:55:39 UTC
*** Issue 90627 has been marked as a duplicate of this issue. ***
Comment 9 ooo 2008-06-13 14:57:40 UTC
From issue 90627: TZ=America/St_Johns and dates <= 1935-03-30 exhibit same behavior.
Comment 10 erack 2008-06-18 23:40:43 UTC
Holy nastiness.. time zones change on those dates and include seconds:

TZ=Europe/Moscow date <= 1919-07-01 time zone offset +2:30:48 instead of +3:00
Additionally DST +2h instead of +1h

TZ=America/St_Johns date <= 1935-03-30 time zone offset -3:30:52 instead of -3:30
1935-03-30 00:00:00 => 1935-03-29 23:59:08
Comment 11 erack 2008-07-16 11:36:21 UTC
This turned out to be more complicated. Even if during input the value
internally can be compensated for the seconds offset, during
output/display/retrieval of the value the OOo UNO API for the calendar lacks
resolution for these timezone offsets, current minimum resolution is minutes,
and the result is still wrong in some cases. The API needs to be enhanced to
allow for a more fine grained resolution of seconds respectively milliseconds,
without going incompatible of course :(

Retargeting to OOo3.1
Comment 12 ooo 2008-08-06 14:58:52 UTC
Reported on IRC:
TZ=Finland/Helsinki date <= 1916-07-28
Comment 13 kpalagin 2008-09-23 08:07:41 UTC
Eike,
are we on track for 3.1 with fix for this issue?
Thanks.
Comment 14 ooo 2008-09-30 11:14:36 UTC
I think so.
Comment 15 erack 2008-10-05 23:32:15 UTC
In cws locales31:

offapi/com/sun/star/i18n/CalendarFieldIndex.idl  1.12.128.1
i18npool/inc/calendar_gregorian.hxx  1.16.24.1
i18npool/source/calendar/calendar_gregorian.cxx  1.34.24.1
unotools/inc/unotools/calendarwrapper.hxx  1.10.24.1
unotools/source/i18n/calendarwrapper.cxx  1.15.24.1
svtools/source/numbers/zforfind.cxx  1.51.96.1

Also checked the cases of issue 76623, they're still good.

Note that the case of TZ=Finland/Helsinki mentioned above would be
TZ=Europe/Helsinki instead. However, I could not reproduce a faulty behavior
with the date given or around. Also dumping calendar internals around that date
did not reveal timezone or DST transitions.
Comment 16 ooo 2008-12-11 15:34:32 UTC
Reassigning to QA for verification.
Comment 17 kpalagin 2008-12-11 17:44:12 UTC
Great, thanks a lot!
Comment 18 oc 2008-12-17 12:56:01 UTC
verified in internal build cws_locales31
Comment 19 renatoyamane 2009-02-03 09:52:09 UTC
Same problem in Pt-BR locale.
At this moment we are in Summer Time (GMT -2h).

Best regards,
Renato
Comment 20 kpalagin 2009-07-12 19:55:03 UTC
renatoyamane,
do you see this issue in 3.1?
Comment 21 thorsten.ziehm 2009-07-20 14:53:01 UTC
This issue is closed automatically and wasn't rechecked in a current version of
OOo. The fixed issue should be integrated in OOo since more than half a year. If
you think this issue isn't fixed in a current version (OOo 3.1), please reopen
it and change the field 'Target Milestone' accordingly.

If you want to download a current version of OOo =>
http://download.openoffice.org/index.html
If you want to know more about the handling of fixed/verified issues =>
http://wiki.services.openoffice.org/wiki/Handle_fixed_verified_issues
Comment 22 thorsten.ziehm 2009-07-20 15:35:24 UTC
Sorry this issue was wrongly closed. This issue will be reopened automatically.
And will be set after that back to fixed/verified.
Comment 23 thorsten.ziehm 2009-07-20 15:39:54 UTC
Set to state 'fixed'.
Comment 24 thorsten.ziehm 2009-07-20 15:44:08 UTC
Set back to state 'verified/fixed'.

Again. Sorry for the mass of mails.
Comment 25 lohmaier 2009-08-12 23:53:14 UTC
*** Issue 103240 has been marked as a duplicate of this issue. ***
Comment 26 avagula 2009-10-08 19:00:32 UTC
Still exists in 3.1.1 Windows version.
Timezone Europe/Tallinn, locale Estonian
Entering 1.3.1790 results 28.02.1790
Comment 27 ooo 2009-10-13 14:24:52 UTC
Created follow-up issue 105864 for the latest Europe/Tallin case because it is
slightly different, see there.
Comment 28 ooo 2009-10-13 14:25:27 UTC
Resetting to verified.
Comment 29 thorsten.ziehm 2010-02-22 14:48:59 UTC
This issue is closed automatically. It should be fixed in a version with is
available for longer than half a year (OOo 3.1). If you think this issue isn't
fixed in the current version (OOo 3.2) please reopen it. But then please pay
attention about the field 'target milestone'.
The closure was approved by the Release Status Meeting at 22nd of February 2010
and it is based on the issue handling guideline for fixed/verified issues  :
http://wiki.services.openoffice.org/wiki/Handle_fixed_verified_issues