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

-2000 in yer formatting #27

Open
Kroshtandt opened this issue Apr 20, 2020 · 0 comments
Open

-2000 in yer formatting #27

Kroshtandt opened this issue Apr 20, 2020 · 0 comments

Comments

@Kroshtandt
Copy link

I haven't checked, but this may cause issues with dates < 2000.
ex: 1999 - 2000 = -1, and not 99

case 'y': sprintf(helper, "%02d", dt.year-2000);

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

1 participant