/plugin/yuriigantt/3rd/dhtmlxgantt/sources/ext/ |
H A D | dhtmlxgantt_csp.js | 131 …case "%d": return utc ? gantt.date.to_fixed(date.getUTCDate()) : gantt.date.to_fixed(date.getDate(… 132 …case "%m": return utc ? gantt.date.to_fixed((date.getUTCMonth() + 1)) : gantt.date.to_fixed((date.… 135 …case "%y": return utc ? gantt.date.to_fixed(date.getUTCFullYear() % 100) : gantt.date.to_fixed(dat… 137 …case "%D": return utc ? gantt.locale.date.day_short[date.getUTCDay()] : gantt.locale.date.day_shor… 138 …case "%l": return utc ? gantt.locale.date.day_full[date.getUTCDay()] : gantt.locale.date.day_full[… 139 …case "%M": return utc ? gantt.locale.date.month_short[date.getUTCMonth()] : gantt.locale.date.mont… 140 …case "%F": return utc ? gantt.locale.date.month_full[date.getUTCMonth()] : gantt.locale.date.month… 144 …case "%H": return utc ? gantt.date.to_fixed(date.getUTCHours()) : gantt.date.to_fixed(date.getHour… 145 …case "%i": return utc ? gantt.date.to_fixed(date.getUTCMinutes()) : gantt.date.to_fixed(date.getMi… 148 …case "%s": return utc ? gantt.date.to_fixed(date.getUTCSeconds()) : gantt.date.to_fixed(date.getSe… [all …]
|
/plugin/webdav/vendor/sabre/vobject/lib/ |
H A D | DateTimeParser.php | 53 return $date; 59 * @param string $date 83 return $date; 193 * @param string $date 200 if ('P' === $date[0] || ('-' === $date[0] && 'P' === $date[1])) { 201 return self::parseDuration($date); 202 } elseif (8 === strlen($date)) { 261 * @param string $date 380 * @param string $date 384 public static function parseVCardTime($date) argument [all …]
|
/plugin/icalevents/vendor/sabre/vobject/lib/ |
H A D | DateTimeParser.php | 53 return $date; 60 * @param string $date 84 return $date; 200 * @param string $date 207 if ($date[0] === 'P' || ($date[0] === '-' && $date[1] === 'P')) { 208 return self::parseDuration($date); 209 } elseif (strlen($date) === 8) { 269 * @param string $date 393 * @param string $date 397 static function parseVCardTime($date) { argument [all …]
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/ |
H A D | date.test | 2 "date" filter 4 {{ date1|date }} 5 {{ date1|date('d/m/Y') }} 9 {{ date1|date('e') }} 12 {{ date2|date }} 13 {{ date2|date('d/m/Y') }} 18 {{ date3|date }} 19 {{ date3|date('d/m/Y') }} 21 {{ date4|date }} 24 {{ date5|date }} [all …]
|
H A D | date_immutable.test | 2 "date" filter 6 {{ date1|date }} 7 {{ date1|date('d/m/Y') }} 8 {{ date1|date('d/m/Y H:i:s', 'Asia/Hong_Kong') }} 9 {{ date1|date('d/m/Y H:i:s', timezone1) }} 10 {{ date1|date('d/m/Y H:i:s') }} 13 {{ date2|date('d/m/Y H:i:s P', 'Europe/Paris') }} 14 {{ date2|date('d/m/Y H:i:s P', 'Asia/Hong_Kong') }} 15 {{ date2|date('d/m/Y H:i:s P', false) }} 16 {{ date2|date('e', 'Europe/Paris') }} [all …]
|
/plugin/davcard/vendor/sabre/vobject/lib/ |
H A D | DateTimeParser.php | 50 return $date; 57 * @param string $date 75 return $date; 177 * @param string $date 183 if ($date[0]==='P' || ($date[0]==='-' && $date[1]==='P')) { 184 return self::parseDuration($date); 185 } elseif (strlen($date)===8) { 245 * @param string $date 273 if (!preg_match($regex, $date, $matches)) { 368 * @param string $date [all …]
|
/plugin/webdavclient/vendor/sabre/vobject/lib/ |
H A D | DateTimeParser.php | 50 return $date; 57 * @param string $date 75 return $date; 177 * @param string $date 183 if ($date[0]==='P' || ($date[0]==='-' && $date[1]==='P')) { 184 return self::parseDuration($date); 185 } elseif (strlen($date)===8) { 245 * @param string $date 273 if (!preg_match($regex, $date, $matches)) { 368 * @param string $date [all …]
|
/plugin/davcal/vendor/sabre/vobject/lib/ |
H A D | DateTimeParser.php | 50 return $date; 57 * @param string $date 75 return $date; 177 * @param string $date 183 if ($date[0]==='P' || ($date[0]==='-' && $date[1]==='P')) { 184 return self::parseDuration($date); 185 } elseif (strlen($date)===8) { 245 * @param string $date 273 if (!preg_match($regex, $date, $matches)) { 368 * @param string $date [all …]
|
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/ |
H A D | date.test | 2 "date" function 4 {{ date().format('r') == date('now').format('r') ? 'OK' : 'KO' }} 5 {{ date(date1) == date('2010-10-04 13:45') ? 'OK' : 'KO' }} 6 {{ date(date2) == date('2010-10-04 13:45') ? 'OK' : 'KO' }} 7 {{ date(date3) == date('2010-10-04 13:45') ? 'OK' : 'KO' }} 8 {{ date(date4) == date('2010-10-04 13:45') ? 'OK' : 'KO' }} 9 {{ date(date5) == date('1964-01-02 03:04') ? 'OK' : 'KO' }} 10 {{ date() > date('-1day') ? 'OK' : 'KO' }}
|
H A D | date_namedargs.test | 2 "date" function 4 {{ date(date, "America/New_York")|date('d/m/Y H:i:s P', false) }} 5 {{ date(timezone="America/New_York", date=date)|date('d/m/Y H:i:s P', false) }} 8 return ['date' => mktime(13, 45, 0, 10, 4, 2010)]
|
/plugin/combo/vendor/dragonmantank/cron-expression/src/Cron/ |
H A D | HoursField.php | 13 public function isSatisfiedBy(DateTime $date, $value) argument 15 return $this->isSatisfied($date->format('H'), $value); 18 public function increment(DateTime $date, $invert = false, $parts = null) argument 24 $timezone = $date->getTimezone(); 25 $date->setTimezone(new DateTimeZone('UTC')); 27 $date->modify('-1 hour'); 29 $date->modify('+1 hour'); 31 $date->setTimezone($timezone); 33 $date->setTime($date [all...] |
H A D | YearField.php | 13 public function isSatisfiedBy(DateTime $date, $value) argument 15 return $this->isSatisfied($date->format('Y'), $value); 18 public function increment(DateTime $date, $invert = false) argument 21 $date->modify('-1 year'); 22 $date->setDate($date->format('Y'), 12, 31); 23 $date->setTime(23, 59, 0); 25 $date->modify('+1 year'); 26 $date->setDate($date [all...] |
H A D | DayOfWeekField.php | 24 public function isSatisfiedBy(DateTime $date, $value) argument 33 $currentYear = $date->format('Y'); 34 $currentMonth = $date->format('m'); 35 $lastDayOfMonth = $date->format('t'); 40 $tdate = clone $date; 49 return $date->format('j') == $lastDayOfMonth; 56 // 0 and 7 are both Sunday, however 7 matches date('N') format ISO-8601 69 if ($date->format('N') != $weekday) { 73 $tdate = clone $date; 86 return $date 107 increment(DateTime $date, $invert = false) global() argument [all...] |
H A D | MinutesField.php | 13 public function isSatisfiedBy(DateTime $date, $value) argument 15 return $this->isSatisfied($date->format('i'), $value); 18 public function increment(DateTime $date, $invert = false, $parts = null) argument 22 $date->modify('-1 minute'); 24 $date->modify('+1 minute'); 35 $current_minute = $date->format('i'); 48 $date->modify(($invert ? '-' : '+') . '1 hour'); 49 $date->setTime($date->format('H'), $invert ? 59 : 0); 52 $date [all...] |
/plugin/struct/meta/ |
H A D | DateFormatConverter.php | 57 '%X' => 'H:i:s', // Preferred time representation based on locale, without the date Example: 03:59:16 or 15:59:16 61 '%c' => 'D M j H:i:s Y', // Preferred date and time stamp based on locale Example: Tue Feb 5 00:45:10 2009 for February 5, 2009 at 12:45:10 AM 65 '%x' => 'm/d/y', // Preferred date representation based on locale, without the time Example: 02/05/09 for February 5, 2009 72 protected static $date = [ variable in dokuwiki\\plugin\\struct\\meta\\DateFormatConverter 105 'u' => '%s000000', // Microseconds (added in PHP 5.2.2). Note that date() will always generate000000 since it takes an integer parameter, whereas DateTime::format()does support microseconds if DateTime was created with microseconds. Example: 654321 108 'I' => '', // NOT SUPPORTED (capital i) Whether or not the date is in daylight saving time 1 if Daylight Saving Time, 0otherwise. 114 'c' => '', // NOT SUPPORTED ISO 8601 date (added in PHP 5) 2004-02-12T15:19:21+00:00 115 'r' => '%a, %e %b %Y %H:%M:%S %s', // » RFC 2822 formatted date Example: Thu, 21 Dec 2000 16:01:07 +0200 120 * Convert a strftime format string to a date format string 127 $date 168 toStrftime($date) global() argument [all...] |
/plugin/yuriigantt/3rd/dhtmlxgantt/ext/ |
H A D | dhtmlxgantt_csp.js | 13 …date.date_to_str=function(t,e){return function(a){return t.replace(/%[a-zA-Z]/g,function(t){switch…
|
/plugin/calendoku/ |
H A D | helper.php | 132 $datesecs = strval($date->format('U')) + intval($date->getOffset()); 145 $datesecs = strval($date->format('U')) + intval($date->getOffset()); 151 $datesecs = strval($date->format('U')) + intval($date->getOffset()); 156 return $date; 369 return $date; 372 $year = date('Y'); 373 $month = date('m'); 374 $day = date('d'); 384 $year = date('Y'); 432 $date = new DateTime(); [all …]
|
/plugin/statdisplay/helper/ |
H A D | table.php | 79 * @param string $date 83 if (!$date) $date = date('Y-m'); 94 * @param string $date 98 if (!$date) $date = date('Y-m'); 109 * @param string $date 113 if (!$date) $date = date('Y-m'); 124 * @param string $date 128 if (!$date) $date = date('Y-m'); 140 * @param string $date 144 if (!$date) $date = date('Y-m'); [all …]
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/ |
H A D | date.rst | 1 ``date`` 5 The date function has been added in Twig 1.6. 10 Converts an argument to a date to allow date comparison: 14 {% if date(user.created_at) < date('-2days') %} 18 The argument must be in one of PHP’s supported `date and time formats`_. 24 {% if date(user.created_at) < date('-2days', 'Europe/Paris') %} 28 If no argument is passed, the function returns the current date: 32 {% if date(user.created_at) < date() %} 52 * ``date``: The date 55 .. _`date and time formats`: https://secure.php.net/manual/en/datetime.formats.php
|
/plugin/blogtng/action/ |
H A D | edit.php | 108 $YY = (int) $date['YY']; 109 $MM = (int) $date['MM']; 110 $DD = (int) $date['DD']; 111 $hh = (int) $date['hh']; 112 $mm = (int) $date['mm']; 225 $YY = (int) $date['YY']; 226 $MM = (int) $date['MM']; 227 $DD = (int) $date['DD']; 228 $hh = (int) $date['hh']; 229 $mm = (int) $date['mm']; [all …]
|
/plugin/meta/ |
H A D | syntax.php | 65 // do some validation / conversion for date metadata 66 if (isset($data['date'])) { 67 if (is_array($data['date'])) { 68 foreach ($data['date'] as $key => $date) { 69 $date = $this->convertDate(trim($date)); 70 if (!$date) { 71 unset($data['date'][$key]); 73 $data['date'][ 121 convertDate($date) global() argument 174 autocompleteDate($date, $end = false) global() argument [all...] |
/plugin/cite/ |
H A D | action.php | 58 $revisionDateYear = date('Y', $revisionId); 59 $revisionDateMLA = date('j M Y, H:i T', $revisionId); 64 $retrieveDateSummary = date('j F Y H:i T'); 65 $retrieveDateAPA = date('H:i, j F, Y'); 66 $retrieveDateMLA = date('j M Y, H:i'); 67 $retrieveDateMHRA = date('j F Y'); 68 $retrieveDateChicago = date('F j, Y'); 69 $retrieveDateCBECSE = date('Y M j'); 70 $retrieveDateBluebook = date('F j, Y'); 71 $retrieveDataAMA = date('F j, Y'); [all …]
|
/plugin/davcal/vendor/sabre/http/tests/HTTP/Auth/ |
H A D | AWSTest.php | 97 $date = $date->format('D, d M Y H:i:s \\G\\M\\T'); 103 'Date' => $date, 125 $date = $date->format('D, d M Y H:i:s \\G\\M\\T'); 131 'Date' => $date, 152 $date = new \DateTime('now'); 154 $date = $date->format('D, d M Y H:i:s \\G\\M\\T'); 161 'X-amz-date' => $date, 182 $date = new \DateTime('now'); 184 $date = $date->format('D, d M Y H:i:s \\G\\M\\T'); 188 "POST\n$contentMD5\n\n$date\nx-amz-date:$date\n/evert" [all …]
|
/plugin/bez/tpl/ |
H A D | activity.php | 2 <?php foreach ($tpl->get('timeline') as $date => $rows): ?> 4 <?php if ($date == date('Y-m-d')): ?> 5 <?php echo $date ?>: <?php echo $tpl->getLang('today') ?> 6 <?php elseif ($date == date('Y-m-d', strtotime('yesterday'))): ?> 7 <?php echo $date ?>: <?php echo $tpl->getLang('yesterday') ?> 9 <?php echo $date ?>
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/ |
H A D | date.rst | 1 ``date`` 16 The ``date`` filter formats a date to a given format: 20 {{ post.published_at|date("m/d/Y") }} 22 The format specifier is the same as supported by `date`_, 32 {{ "now"|date("m/d/Y") }} 39 {{ post.published_at|date("F jS \\a\\t g:ia") }} 43 date, use a ternary operator: 78 {{ post.published_at|date("m/d/Y", false) }} 93 * ``format``: The date format 94 * ``timezone``: The date timezone [all …]
|