Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Date.toRFC3339 #4

Closed
wants to merge 1 commit into from
Closed

add Date.toRFC3339 #4

wants to merge 1 commit into from

Conversation

namlook
Copy link

@namlook namlook commented Jun 24, 2016

I wanted to pass a date to an html input and went into this issue: http://stackoverflow.com/questions/14212527/how-to-set-default-value-to-the-inputtype-date

Then I started to implement an helper to convert a Date into the RFC 3339 standard and I think your library is a good fit :)

I also exposed the function monthNumber as it was the first function I implemented for toRFC3339 and I think it may be helpful for other use.

@krisajenkins
Copy link
Owner

Thanks, this looks like a good addition. I'm going to make a couple of small tweaks, and then I'll merge it in and republish.

Oh, and I'll start a credits section in the README and add you. 👍

@krisajenkins
Copy link
Owner

Published as 25.7.0. Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants