Skip to content
This repository was archived by the owner on Feb 1, 2019. It is now read-only.

Fix placeholder bug and make timestamps more readable #68

Merged
merged 1 commit into from
Jul 1, 2015

Conversation

kurtrwall
Copy link

Timestamps were output in the ISO8601 format, which isn't very human readable. This changes the output so that if it is saved in that format, it outputs it like so: July 4 2015 05:10am GMT-0400.

Also, placeholder was throwing an error if it wasn't set for some select fields.

Test

Save a date/time/datetime field and check the output. Go to the Regulation post type. Make sure that there is no error for any of the select fields in the side context.

@dpford @jimmynotjim @Scotchester

@dpford
Copy link
Contributor

dpford commented Jul 1, 2015

upvote

kurtrwall pushed a commit that referenced this pull request Jul 1, 2015
Fix placeholder bug and make timestamps more readable
@kurtrwall kurtrwall merged commit a923dbf into cfpb:master Jul 1, 2015
@kurtrwall kurtrwall deleted the fix-display-bugs branch July 1, 2015 14:49
kurtrwall pushed a commit to kurtrwall/cms-toolkit that referenced this pull request Jul 1, 2015
Fix placeholder bug and make timestamps more readable
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants