Skip to content

Commit 1b40ada

Browse files
committed
Same order as everywhere
1 parent 89af5e5 commit 1b40ada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/values/TimeValue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var SELF = dv.TimeValue = util.inherit( 'DvTimeValue', PARENT, function( timesta
2828
this._time = {};
2929

3030
try {
31-
var matches = /^([+-]?\d+)-(\d+)-(\d+)T(?:(\d+):(\d+)(?::(\d+))?Z?)?$/.exec( timestamp );
31+
var matches = /^([-+]?\d+)-(\d+)-(\d+)T(?:(\d+):(\d+)(?::(\d+))?Z?)?$/.exec( timestamp );
3232
this._time.year = parseInt( matches[1], 10 );
3333
this._time.month = parseInt( matches[2], 10 );
3434
this._time.day = parseInt( matches[3], 10 );

0 commit comments

Comments
 (0)