Message11180

Author stefan.richthofer
Recipients stefan.richthofer, ttakamiy, zyasoft
Date 2017-03-05.00:00:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488672024.39.0.513553158939.issue2504@psf.upfronthosting.co.za>
In-reply-to
Content
Tami, I just tried to reproduce this issue, but it works well for me, and I am also not in UTC, my default is:

>>> from java.util import TimeZone
>>> TimeZone.getDefault()
sun.util.calendar.ZoneInfo[id="Europe/Berlin",offset=3600000,dstSavings=3600000,useDaylight=true,transitions=143,lastRule=java.util.SimpleTimeZone[id=Europe/Berlin,offset=3600000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=2,startMonth=2,startDay=-1,startDayOfWeek=1,startTime=3600000,startTimeMode=2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2]]
>>> 

The dates in your example are displayed like they should out of the box. 

What specific fix would you suggest for datetime.date.__tojava__? Should it be the same fix as you propose in #2524?
What about datetime.datetime.__tojava__? Should it be fixed there too?
History
Date User Action Args
2017-03-05 00:00:24stefan.richthofersetmessageid: <1488672024.39.0.513553158939.issue2504@psf.upfronthosting.co.za>
2017-03-05 00:00:24stefan.richthofersetrecipients: + stefan.richthofer, zyasoft, ttakamiy
2017-03-05 00:00:24stefan.richthoferlinkissue2504 messages
2017-03-05 00:00:23stefan.richthofercreate