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

Milliseconds returning NaN #63

Closed
thiagoloddi opened this issue May 29, 2015 · 1 comment
Closed

Milliseconds returning NaN #63

thiagoloddi opened this issue May 29, 2015 · 1 comment

Comments

@thiagoloddi
Copy link

Hello,

I've been using strftime for some time now and never any problems with it, until I downloaded the latest version recently. It appears it has some kind of bug when displaying milliseconds.
In version 0.8.0 everything worked fine, but in version 0.9.0 it appears that time between milliseconds appears as 00NaN.

Running this script:

var testDate = function(){
for(var i = 0; i < 1000; i++){
var dateTime = strftime("%Y-%m-%d %H:%M:%S:%L")
console.log(dateTime)
}
}

On the left is what I got for version 0.9.0 and on the right version 0.8.0
screen shot 2015-05-29 at 6 57 04 pm

Do you have any previsions for this bug to be fixed? Is there anything I can configure in my computer so it works properly?

Thanks!

@samsonjs
Copy link
Owner

It's a reproducible bug introduced in 0.9.0 and I have a fix in the works here. After a bit more testing I'll release a fix for this ASAP as 0.9.1.

Thanks for the report!

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

No branches or pull requests

2 participants