Fix JS Date format #7

merged 4 commits into from Mar 19, 2012

2 participants


The format was being printed out in y,d,m when it should be y,m,d. Also, JS months are zero indexed :(


Thanks for this!

Instead of the last commit "cast to string first", can't you just interpolate the month? I think interpolation inside interpolation works just fine.

@asterite asterite merged commit 4f44053 into asterite:master Mar 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment