Skip to content

Commit

Permalink
Stop using let, closes #87
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonjs committed May 28, 2024
1 parent a0a62db commit 53e26ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions strftime-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions strftime.js
Original file line number Diff line number Diff line change
Expand Up @@ -649,8 +649,7 @@
// '70'
// case 'y':
case 121:
let year = date.getFullYear() % 100;
resultString += padTill2(year, padding);
resultString += padTill2(date.getFullYear() % 100, padding);
break;

// '+0000'
Expand Down

0 comments on commit 53e26ba

Please sign in to comment.