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

Possible bug with %U #56

Closed
ghost opened this issue Mar 26, 2015 · 4 comments · Fixed by #57
Closed

Possible bug with %U #56

ghost opened this issue Mar 26, 2015 · 4 comments · Fixed by #57

Comments

@ghost
Copy link

ghost commented Mar 26, 2015

This looks like a bug with %U:

console.log( strftime('%U', (new Date('03-25-2017 00:00:00'))) ) // 12
console.log( strftime('%U', (new Date('03-26-2017 00:00:00'))) ) // 13
console.log( strftime('%U', (new Date('03-27-2017 00:00:00'))) ) // 12
console.log( strftime('%U', (new Date('04-02-2017 00:00:00'))) ) // 13

samsonjs added a commit that referenced this issue Mar 26, 2015
samsonjs added a commit that referenced this issue Mar 26, 2015
samsonjs added a commit that referenced this issue Mar 26, 2015
@ghost
Copy link
Author

ghost commented Mar 27, 2015

Should the issue be reopened, since the fix was reverted?

@samsonjs
Copy link
Owner

Yup, reopened.

@samsonjs samsonjs reopened this Mar 27, 2015
samsonjs added a commit that referenced this issue Mar 29, 2015
@samsonjs
Copy link
Owner

samsonjs commented Apr 1, 2015

Ok, master is fixed and it will be rolled out in 0.9.1 shortly. We had a bug in the tests but it's sorted. Thanks for the report @clexit!

@ghost
Copy link
Author

ghost commented Apr 1, 2015

Thanks for the quick fix!

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 a pull request may close this issue.

1 participant