Sfoglia il codice sorgente

change default nextDayThreshold to 00

Adam Shaw 7 anni fa
parent
commit
f22b05d96b
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      src/options.ts
  2. 1 1
      tests/automated/legacy/defaultTimedEventDuration.js

+ 1 - 1
src/options.ts

@@ -8,7 +8,7 @@ export const globalDefaults = {
   defaultTimedEventDuration: '02:00:00',
   defaultAllDayEventDuration: { day: 1 },
   forceEventDuration: false,
-  nextDayThreshold: '09:00:00', // 9am
+  nextDayThreshold: '00:00:00',
 
   // display
   columnHeader: true,

+ 1 - 1
tests/automated/legacy/defaultTimedEventDuration.js

@@ -99,7 +99,7 @@ describe('defaultTimedEventDuration', function() {
               title: 'control event',
               allDay: false,
               start: '2014-04-28T04:00:00',
-              end: '2014-04-30T00:00:00'
+              end: '2014-04-30T04:00:00'
             },
             {
               // one day after the control. no specified end