Skip to content

Commit 53e26ba

Browse files
committed
Stop using let, closes #87
1 parent a0a62db commit 53e26ba

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

strftime-min.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

strftime.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,8 +649,7 @@
649649
// '70'
650650
// case 'y':
651651
case 121:
652-
let year = date.getFullYear() % 100;
653-
resultString += padTill2(year, padding);
652+
resultString += padTill2(date.getFullYear() % 100, padding);
654653
break;
655654

656655
// '+0000'

0 commit comments

Comments
 (0)