Skip to content
This repository has been archived by the owner. It is now read-only.

Correctly use "2" for the day in the date format #4

Merged

Conversation

@Boerworz
Copy link
Contributor

@Boerworz Boerworz commented Jan 4, 2016

The Go time package defines the reference time used in the layouts as "Mon
Jan 2 15:04:05 MST 2006". Using "1" for the day makes the date formatting behave incorrectly (the post I created today showed "1. January 2016").

Thanks for the port!

The Go time package defines the reference time used in the layouts as "Mon
Jan 2 15:04:05 MST 2006".
@digitalcraftsman digitalcraftsman merged commit 9ec4da4 into digitalcraftsman:master Jan 4, 2016
@digitalcraftsman
Copy link
Owner

@digitalcraftsman digitalcraftsman commented Jan 4, 2016

Hello @Boerworz,

thanks for contributing this correction.

You are welcome.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants