Fixed errors in %I and %p #2

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@nberardi

Fixed errors in the date format function relating to the AM/PM output (%p) and the 12-hour cycle format (%I).

Most of the errors I have found are relating to what happens around noon. For example

2011-05-23T12:00:00 was being reported as May 23 2011 00:00 when the correct format should have been May 23 2011 12:00 for 24-hour time and May 23 2011 12:00 PM for 12-hour time.

Contributor

/cc #5

@bkeepers bkeepers closed this Mar 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment