Open BigWhale opened 9 years ago
Previously date/time formats were limited to what PHP's strtotime() supports, which is quite limited. I changed this and used DateTime::createFromFormat() which is more versatile.
I'd prefer using DateTime::createFromFormat(), but I'm a bit ambivalent about implementing it. DateTime::createFromFormat() is PHP 5 >= 5.3.0, but WordPress is PHP >= 5.2.4.
DateTime::createFromFormat()
Previously date/time formats were limited to what PHP's strtotime() supports, which is quite limited. I changed this and used DateTime::createFromFormat() which is more versatile.