Explorar el Código

change defaulTimedEventDuration to 1 hour

Adam Shaw hace 7 años
padre
commit
3927798272
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 1
      src/options.ts
  2. 1 0
      tests/automated/legacy/event-resize.js

+ 1 - 1
src/options.ts

@@ -7,7 +7,7 @@ export const globalDefaults = {
   titleRangeSeparator: ' \u2013 ', // en dash
   cmdFormatter: null,
 
-  defaultTimedEventDuration: '02:00:00',
+  defaultTimedEventDuration: '01:00:00',
   defaultAllDayEventDuration: { day: 1 },
   forceEventDuration: false,
   nextDayThreshold: '00:00:00',

+ 1 - 0
tests/automated/legacy/event-resize.js

@@ -412,6 +412,7 @@ describe('eventResize', function() {
 
     describe('when resizing a timed event without an end', function() {
       pushOptions({
+        defaultTimedEventDuration: '02:00',
         events: [ {
           title: 'timed event event',
           start: '2014-06-11T05:00:00',