File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 581581 if ( this . second <= this . _defaults . secondMin ) {
582582 this . second = this . _defaults . secondMin ;
583583 this . _defaults . millisecMin = minDateTime . getMilliseconds ( ) ;
584- if ( this . millisec <= this . _default . millisecMin ) {
584+ if ( this . millisec <= this . _defaults . millisecMin ) {
585585 this . millisec = this . _defaults . millisecMin ;
586586 this . _defaults . microsecMin = minDateTime . getMicroseconds ( ) ;
587587 } else {
637637 if ( this . second >= this . _defaults . secondMax ) {
638638 this . second = this . _defaults . secondMax ;
639639 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 ;
642642 this . _defaults . microsecMax = maxDateTime . getMicroseconds ( ) ;
643643 } else {
644644 if ( this . microsec > this . _defaults . microsecMax ) {
20712071 * Rough microsecond support
20722072 */
20732073 if ( ! Date . prototype . getMicroseconds ) {
2074- Date . microseconds = null ;
2074+ Date . microseconds = 0 ;
20752075 Date . prototype . getMicroseconds = function ( ) { return this . microseconds ; } ;
20762076 Date . prototype . setMicroseconds = function ( m ) { this . microseconds = m ; return this ; } ;
20772077 }
You can’t perform that action at this time.
0 commit comments