I get stupid datetimes such as this from the outside:
Jan-02 19:00
That means "the next 2nd January, 19 o'clock".
Currently, since the current time is in the very end of 2021, that means 2022-01-02 19:00
. But if I sen that to the datetime parser in PHP, it will think I'm talking about the current year's "Jan-02", namely 2021-01-02 19:00
. That's in the past.
I would never give a year-less datetime myself, but I don't control this. It's also impossible to contact them and have them change anything.
This is probably extremely simple, but it's caused me grief for years when the date formatter misinterprets the date as referring to the past, when it always means "the next time this date occurs from the current time".