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
Simple bug in src/common.js
src/common.js
Second last line in this snippet
let expirationSeconds = parseFloat(expirationStr) const lastChar = expirationStr[expirationStr.length - 1] if (lastChar === 'm') expirationSeconds *= 60 else if (lastChar === 'h') expirationSeconds *= 3600 else if (lastChar === 'd') expirationSeconds *= 3600 * 24 else if (lastChar === 'w') expirationSeconds *= 3600 * 24 * 7 else if (lastChar === 'M') expirationSeconds *= 3600 * 24 * 7 * 30 return expirationSeconds
The text was updated successfully, but these errors were encountered:
It's really funny, but I thought you mean "A month is not 30 weeks"?
Sorry, something went wrong.
Yep. Just realised the typo here too. haha Gonna fix that
Successfully merging a pull request may close this issue.
Simple bug in
src/common.js
Second last line in this snippet
The text was updated successfully, but these errors were encountered: