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

%-y does not omit leading zero #84

Closed
prime300th opened this issue Jan 9, 2022 · 1 comment
Closed

%-y does not omit leading zero #84

prime300th opened this issue Jan 9, 2022 · 1 comment

Comments

@prime300th
Copy link

reproduce code
https://runkit.com/prime300th/61daa3d288a6740008742497

console.log(strftime('%-y', new Date('2001-02-03T04:05:06')));

expected: 1
actual: 01

aryan-debug added a commit to aryan-debug/strftime that referenced this issue Apr 17, 2023
aryan-debug added a commit to aryan-debug/strftime that referenced this issue May 22, 2023
samsonjs added a commit that referenced this issue May 24, 2023
@samsonjs
Copy link
Owner

This was just released in version 0.10.2 and is up on npm now.

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