PHP wtf-ery 

Why does PHP strtotime() understand 08/26/2019 but not 08-26-2019 but does understand 2019-08-26?

I get that DateTime objects are preferred greatly as PHP moves better into being an OOPL but good lord

PHP wtf-ery 

@ceralor
I avoid strtotime() 'cos it feels too magical in its "feed a string, get a time" promise. I don't want to get strange bugs & notice it's "half past Steve" :P

PHP wtf-ery 

@ceralor
Or the simple one: what month is 06/10/2019 and will it change depending on the server

PHP wtf-ery 

@patterfloof typically I would as well tbh

Sign in to participate in the conversation
meow.social

This instance is focused around the furry community, and is open to anyone interested in it. It's open to all fluffies and scalies ! ⚠️ We do not accept any form of sponsored content on our site. If you like meow, consider donating something via paypal or Liberapay