We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fce23d commit d510e2bCopy full SHA for d510e2b
src/QueryParser.js
@@ -535,9 +535,10 @@ var QueryParser = (function () {
535
.replace(/\%m/g, Util.zeropad(date.getMonth()))
536
.replace(/\%e/g, date.getMonth())
537
.replace(/\%w/g, date.getDay())
538
+ .replace(/\%W/g, Util.zeropad(date.getDay()))
539
.replace(/\%b/g, months[date.getMonth()].substr(0, 3))
540
.replace(/\%B/g, months[date.getMonth()])
- .replace(/\%y/g, date.getFullYear())
541
+ .replace(/\%y/g, date.getFullYear() % 1000)
542
.replace(/\%Y/g, date.getFullYear())
543
.replace(/\%H/g, Util.zeropad(date.getHours()))
544
.replace(/\%k/g, date.getHours())
0 commit comments