File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/@internationalized/date/src Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -376,11 +376,11 @@ export class ZonedDateTime {
376376 set ( fields : DateFields & TimeFields , disambiguation ?: Disambiguation ) : ZonedDateTime ;
377377 set ( fields : DateFields & TimeFields , constrainDay ?: boolean ) : ZonedDateTime ;
378378 set ( ...args : any [ ] ) {
379- let disambiguation , constrainDay = false ;
380- if ( args [ 1 ] && typeof args [ 1 ] === " string" ) {
381- disambiguation = args [ 1 ]
382- } else if ( args [ 1 ] && typeof args [ 1 ] === " boolean" ) {
383- constrainDay = args [ 1 ]
379+ let disambiguation , constrainDay = false ;
380+ if ( args [ 1 ] && typeof args [ 1 ] === ' string' ) {
381+ disambiguation = args [ 1 ] ;
382+ } else if ( args [ 1 ] && typeof args [ 1 ] === ' boolean' ) {
383+ constrainDay = args [ 1 ] ;
384384 }
385385 return setZoned ( this , args [ 0 ] , disambiguation , constrainDay ) ;
386386 }
You can’t perform that action at this time.
0 commit comments