Possible bug with %U
Opened this issue · 4 comments
Deleted user commented
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
Deleted user commented
Should the issue be reopened, since the fix was reverted?
samsonjs commented
Yup, reopened.
samsonjs commented
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!
Deleted user commented
Thanks for the quick fix!