master
yutent 2023-11-06 14:05:13 +08:00
parent 1285c266c6
commit 0afc54671b
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "es.shim",
"version": "2.2.0",
"version": "2.2.1",
"description": "实现部分新API, 以及一些常用的扩展方法",
"keyworks": [
"es5",

View File

@ -48,7 +48,7 @@ if (!Date.prototype.format) {
week: this.getWeek(),
month: this.getMonth() + 1,
date: this.getDate(),
day: this.getDay() + 1,
day: this.getDay(),
hours: this.getHours(),
minutes: this.getMinutes(),
seconds: this.getSeconds()