We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When parsing a time that includes an amount of milliseconds under 100, the parse function erroneously ignores the leading zeroes.
const PostgresInterval = require('postgres-interval'); console.log(PostgresInterval('04:20:00.069').milliseconds); // should print 69, instead prints 690
The text was updated successfully, but these errors were encountered:
i am not surprised this was hiding in #48
Sorry, something went wrong.
Haven't had a chance to fix this yet but happy to review a fix ASAP from anyone who wants to contribute one.
correctly parse leading zeroes in milliseconds, fixes issue bendrucke…
7212892
…r#49
8bad2de
No branches or pull requests
The Problem
When parsing a time that includes an amount of milliseconds under 100, the parse function erroneously ignores the leading zeroes.
Steps to reproduce
The text was updated successfully, but these errors were encountered: