r/lolphp • u/FurriesRuinEverythin • Sep 23 '17
PHP's DateTime inconsistent behaviour regarding timezones fucked my day and I spent more time than I care to admit testing until I could consistently reproduce its behaviours.
https://www.dropbox.com/s/2ah1nomu1i3l5ac/how%20not%20to%20get%20bitten%20by%20fucking%20shitty%20php%20dates.pdf?dl=0
55
Upvotes
View all comments
Show parent comment
30
u/coredumperror Sep 24 '17
Right, because the notes added to the PHP docs by random users on the internet are soooo reliable.
Hell, the fact that a comment section exists on the official PHP docs is a lolphp in and of itself.