Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
100pah committed Jul 11, 2017
1 parent c935385 commit b79b307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/format.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ define(function (require) {
var s = date['get' + utc + 'Seconds']();

tpl = tpl.replace('MM', s2d(M))
.toLowerCase()
.replace('M', M)
.replace('yyyy', y)
.replace('yy', y % 100)
.replace('dd', s2d(d))
Expand Down

0 comments on commit b79b307

Please sign in to comment.