wxWidgets / Phoenix

wxPython's Project Phoenix. A new implementation of wxPython, better, stronger, faster than he was before.
http://wxpython.org/
2.33k stars 515 forks source link

GetTicks returns -1 when year=2038 month=1 day=19 #263

Open eagleflysky opened 7 years ago

eagleflysky commented 7 years ago

dmy=(18,0,2038) t=wx.DateTime.FromDMY(dmy) t.GetTicks() 2147356800L dmy=(19,1,2038) t=wx.DateTime.FromDMY(dmy) t.GetTicks() -1L

swt2c commented 7 years ago

This isn't a wxPython issue, but a wxWidgets issue. I would suggest opening a ticket in trac.wxwidgets.org.