Searched hist:d05f9e2d3d13931ef7a10bdc065b385dc341746d (Results 1 – 2 of 2) sorted by relevance
/haiku/headers/os/support/ |
H A D | DateTime.h | d05f9e2d3d13931ef7a10bdc065b385dc341746d Thu Oct 10 15:20:19 UTC 2013 Adrien Destugues <pulkomandy@pulkomandy.tk> BDateTime: Time_T functions return or take a time_t
* They used an unsigned int, which led to overflows when trying to set them to a time before January 1st, 1970 (local time) * Some things use January 1st, 1970, GMT (or UTC) as a reference point. In my timezone this leads to such a negative date. An example is cookie expiration dates which are set to this date to expire them immediately. Spotted by Opera testsuite. * This makes the method unuseable for dates after 2036 (signed 32-bit time_t will overflow then. This gives us just 33 years to switch to a 64-bit time_t. In te meantime, please try using other methods to set the date and time for BDateTime objects if you need to go this far.
|
/haiku/src/kits/support/ |
H A D | DateTime.cpp | d05f9e2d3d13931ef7a10bdc065b385dc341746d Thu Oct 10 15:20:19 UTC 2013 Adrien Destugues <pulkomandy@pulkomandy.tk> BDateTime: Time_T functions return or take a time_t
* They used an unsigned int, which led to overflows when trying to set them to a time before January 1st, 1970 (local time) * Some things use January 1st, 1970, GMT (or UTC) as a reference point. In my timezone this leads to such a negative date. An example is cookie expiration dates which are set to this date to expire them immediately. Spotted by Opera testsuite. * This makes the method unuseable for dates after 2036 (signed 32-bit time_t will overflow then. This gives us just 33 years to switch to a 64-bit time_t. In te meantime, please try using other methods to set the date and time for BDateTime objects if you need to go this far.
|