Date/time formatting error
-
When I call the_date() or the_time() with string arguments they return a {1} in front of the string. When I call those functions with numeric arguments they return fine.
For example:
the_date(‘l, F j, Y’) returns {1}Saturday,${1}July 2, 2006
the_date(‘F j, Y’) returns {1}July 2, 2006On the other hand, numeric (and am/pm) arguments are no problem:
the_date(‘g:i a’) returns 11.14 am
the_date(‘m.j.y’) returns 07.1.02as they should.
Calling the_time() with the same arguments produces the same results.
Any help would be appreciated.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Date/time formatting error’ is closed to new replies.