Comparing version 1.3.0 to 1.4.0
{ | ||
"name": "bz-date", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Date library for btrz", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -644,2 +644,6 @@ | ||
this.setMilliseconds = function (seconds) { | ||
throw new Error("Can set on null object"); | ||
}; | ||
this.toLiteral = function () { | ||
@@ -955,2 +959,7 @@ return {value: 0, offset: 0}; | ||
this.setMilliseconds = function (milliseconds) { | ||
_date.setUTCMilliseconds(milliseconds); | ||
return this; | ||
} | ||
this.toLiteral = function () { | ||
@@ -957,0 +966,0 @@ return {value: _date, offset: this.getTimezoneOffset()}; |
57125
1299