File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 581
581
if ( this . second <= this . _defaults . secondMin ) {
582
582
this . second = this . _defaults . secondMin ;
583
583
this . _defaults . millisecMin = minDateTime . getMilliseconds ( ) ;
584
- if ( this . millisec <= this . _default . millisecMin ) {
584
+ if ( this . millisec <= this . _defaults . millisecMin ) {
585
585
this . millisec = this . _defaults . millisecMin ;
586
586
this . _defaults . microsecMin = minDateTime . getMicroseconds ( ) ;
587
587
} else {
637
637
if ( this . second >= this . _defaults . secondMax ) {
638
638
this . second = this . _defaults . secondMax ;
639
639
this . _defaults . millisecMax = maxDateTime . getMilliseconds ( ) ;
640
- if ( this . millisecond >= this . _defaults . millisecondMax ) {
641
- this . millisecond = this . _defaults . millisecondMax ;
640
+ if ( this . millisec >= this . _defaults . millisecMax ) {
641
+ this . millisec = this . _defaults . millisecMax ;
642
642
this . _defaults . microsecMax = maxDateTime . getMicroseconds ( ) ;
643
643
} else {
644
644
if ( this . microsec > this . _defaults . microsecMax ) {
2071
2071
* Rough microsecond support
2072
2072
*/
2073
2073
if ( ! Date . prototype . getMicroseconds ) {
2074
- Date . microseconds = null ;
2074
+ Date . microseconds = 0 ;
2075
2075
Date . prototype . getMicroseconds = function ( ) { return this . microseconds ; } ;
2076
2076
Date . prototype . setMicroseconds = function ( m ) { this . microseconds = m ; return this ; } ;
2077
2077
}
You can’t perform that action at this time.
0 commit comments