1) Give a description of the problem
I am not sure how long this has been going on, but I just noticed that when retrieving AM/PM status from $time, the result is incorrect.
2) What is the expected behaviour?
The expression
:
formatDateTime($time, "a")
should correctly return either AM or PM
3) What is actually happening?
It is returning the opposite.
Is this happening for anyone else?
Note, it does work correctly using $now
:
formatDateTime($now, "a")