| /plugin/yuriigantt/3rd/dhtmlxgantt/sources/ext/ |
| D | dhtmlxgantt_csp.js | 127 gantt.date.date_to_str = function(format,utc){ 128 return function(date) { argument 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.… 133 case "%j": return utc ? date.getUTCDate() : date.getDate(); 134 case "%n": return utc ? (date.getUTCMonth() + 1) : (date.getMonth() + 1); 135 …case "%y": return utc ? gantt.date.to_fixed(date.getUTCFullYear() % 100) : gantt.date.to_fixed(dat… 136 case "%Y": return utc ? date.getUTCFullYear() : date.getFullYear(); 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[… [all …]
|
| /plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/ |
| D | date.test | 2 "date" filter 4 {{ date1|date }} 5 {{ date1|date('d/m/Y') }} 6 {{ date1|date('d/m/Y H:i:s', 'Asia/Hong_Kong') }} 7 {{ date1|date('d/m/Y H:i:s P', 'Asia/Hong_Kong') }} 8 {{ date1|date('d/m/Y H:i:s P', 'America/Chicago') }} 9 {{ date1|date('e') }} 10 {{ date1|date('d/m/Y H:i:s') }} 12 {{ date2|date }} 13 {{ date2|date('d/m/Y') }} [all …]
|
| /plugin/yuriigantt/3rd/dhtmlxgantt/ext/ |
| D | dhtmlxgantt_csp.js.map | 1 …date","date_to_str","format","utc","replace","a","to_fixed","getUTCDate","getDate","getUTCMonth","…
|
| 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/findologicxmlexport/vendor/twig/twig/doc/filters/ |
| D | date.rst | 1 ``date`` 8 The default date format support has been added in Twig 1.5. 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`_, 26 The ``date`` filter accepts strings (it must be in a format supported by the 28 instance, to display the current date, filter the word "now": 32 {{ "now"|date("m/d/Y") }} 34 To escape words and characters in the date format use ``\\`` in front of each 39 {{ post.published_at|date("F jS \\a\\t g:ia") }} [all …]
|
| /plugin/webdav/vendor/sabre/vobject/lib/ |
| D | DateTimeParser.php | 12 * This class is responsible for parsing the several different date and time 48 …$date = new DateTimeImmutable($matches[1].'-'.$matches[2].'-'.$matches[3].' '.$matches[4].':'.$mat… 53 return $date; 57 * Parses an iCalendar (rfc5545) formatted date and returns a DateTimeImmutable object. 59 * @param string $date 64 public static function parseDate($date, DateTimeZone $tz = null) argument 67 $result = preg_match('/^([0-9]{4})([0-1][0-9])([0-3][0-9])$/', $date, $matches); 70 … throw new InvalidDataException('The supplied iCalendar date value is incorrect: '.$date); 78 $date = new DateTimeImmutable($matches[1].'-'.$matches[2].'-'.$matches[3], $tz); 80 … throw new InvalidDataException('The supplied iCalendar date value is incorrect: '.$date); [all …]
|
| /plugin/icalevents/vendor/sabre/vobject/lib/ |
| D | DateTimeParser.php | 12 * This class is responsible for parsing the several different date and time 48 …$date = new DateTimeImmutable($matches[1] . '-' . $matches[2] . '-' . $matches[3] . ' ' . $matches… 53 return $date; 58 * Parses an iCalendar (rfc5545) formatted date and returns a DateTimeImmutable object. 60 * @param string $date 65 static function parseDate($date, DateTimeZone $tz = null) { argument 68 $result = preg_match('/^([0-9]{4})([0-1][0-9])([0-3][0-9])$/', $date, $matches); 71 … throw new InvalidDataException('The supplied iCalendar date value is incorrect: ' . $date); 79 $date = new DateTimeImmutable($matches[1] . '-' . $matches[2] . '-' . $matches[3], $tz); 81 … throw new InvalidDataException('The supplied iCalendar date value is incorrect: ' . $date); [all …]
|
| /plugin/yuriigantt/3rd/dhtmlxgantt/ |
| D | dhtmlxgantt.d.ts | 13 * specifies the content of start date or end date columns in grid 14 * @param date the date which needs formatting 18 date_grid(date: Date, task: any, column: string): string; 39 * сonverts a date object to a date string. Used to send data back to the server 40 * @param date the date which needs formatting 42 format_date(date: Date): string; 52 * @param date the date which needs formatting 55 grid_date_format(date: Date, column: string): string; 90 * @param start the date when a task is scheduled to begin 91 * @param end the date when a task is scheduled to be completed [all …]
|
| /plugin/calendar/classes/ |
| H A D | EventManager.php | 72 * @return array Events indexed by date 107 * @return array Merged events indexed by date 117 foreach ($events as $date => $dateEvents) { 118 if (!isset($allEvents[$date])) { 119 $allEvents[$date] = []; 126 $allEvents[$date][] = $event; 198 * @param string|null $oldDate Previous date (for moves) 204 if (empty($eventData['date']) || empty($eventData['title'])) { 208 $date = $eventData['date']; 212 // Parse date [all …]
|
| /plugin/findologicxmlexport/vendor/twig/twig/doc/functions/ |
| 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/combo/ComboStrap/ |
| H A D | DateTag.php | 9 * Format a date 14 public const CANONICAL = "variable:date"; 16 public const DATE_ATTRIBUTE = "date"; 17 public const TAG = "date"; 25 * @param string $date 31 …public static function formatDateString(string $date, string $format = DateTag::DEFAULT_FORMAT, st… argument 33 // https://www.php.net/manual/en/function.date.php 34 …ates in other languages, you should use the setlocale() and strftime() functions instead of date(). 60 … not available as locale on the server. You can't then format the value ($date) in this language."… 64 $date = syntax_plugin_combo_variable::replaceVariablesWithValuesFromContext($date); [all …]
|
| /plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/ |
| 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' }}
|
| /plugin/bureaucracyau/_test/ |
| D | field_date.test.php | 18 'Date:@@dateLabel@@', 19 'date "dateLabel"', 21 'Date:15-05-2018', 23 'valid date', 26 'Date:@@dateLabel@@', 27 'date "dateLabel"', 31 'invalid date', 34 'Date: @DATE(@@dateLabel@@)@', 35 'date "dateLabel"', 37 'Date: 2018/02/15 00:00', [all …]
|
| /plugin/bureaucracy-au/_test/ |
| D | field_date.test.php | 18 'Date:@@dateLabel@@', 19 'date "dateLabel"', 21 'Date:2018-05-15', 23 'valid date', 26 'Date:@@dateLabel@@', 27 'date "dateLabel"', 31 'invalid date', 34 'Date: @DATE(@@dateLabel@@)@', 35 'date "dateLabel"', 37 'Date: 2018/02/15 00:00', [all …]
|
| /plugin/syntaxhighlighter3/sxh3/demos/ |
| D | typescript_test.html | 62 private zeroTime = (new Date(2013, 0, 1)).getTime(); 80 private dateToOffsetPrimitive(date: Date, strict: bool) { 81 if (date === null) { 82 throw new ArgumentException("date"); 84 var dayStart = new Date(date.getFullYear(), date.getMonth(), date.getDate()).getTime(); 85 var dayOffset = (date.getTime() - dayStart) - this.workingDayStart; 88 …throw new ArgumentException("Invalid parameter 'date': time of day before the start of the working… 94 …throw new ArgumentException("Invalid parameter 'date': time of day after the end of the working da… 101 public dateToOffset(date: Date) { 102 return this.dateToOffsetPrimitive(date, false); [all …]
|
| /plugin/dirtylittlehelper/mermaid/editor/docs/ |
| D | 43.43.js | 1 …date","#datetime","#datetimezone","#duration","#table","#time"],constants:["#infinity","#nan","#se…
|
| /plugin/blogtng/action/ |
| D | edit.php | 106 if ($INPUT->post->has('post-date')) { 107 $date = $INPUT->post->arr('post-date'); 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']; 116 $YY = date('Y', $created); 117 $MM = date('m', $created); 118 $DD = date('d', $created); [all …]
|
| /plugin/datepicker/script/jscalendar-1.0/ |
| D | calendar.js | 266 var mon = cal.monthsCombo.getElementsByTagName("div")[cal.date.getMonth()]; 298 var Y = cal.date.getFullYear() + (fwd ? 1 : -1); 350 var date = null; 352 date = new Date(cal.date); 353 if (mon.month != date.getMonth()) { 354 date.setMonth(mon.month); 355 cal.setDate(date); 362 date = new Date(cal.date); 363 if (year.year != date.getFullYear()) { 364 date.setFullYear(year.year); [all …]
|
| /plugin/davcard/vendor/sabre/vobject/lib/ |
| D | DateTimeParser.php | 14 * This class is responsible for parsing the several different date and time 46 …$date = new DateTime($matches[1] . '-' . $matches[2] . '-' . $matches[3] . ' ' . $matches[4] . ':'… 49 // $date->setTimeZone(new \DateTimeZone('UTC')); 50 return $date; 55 * Parses an iCalendar (rfc5545) formatted date and returns a DateTime object. 57 * @param string $date 61 static public function parseDate($date, DateTimeZone $tz = null) { argument 64 $result = preg_match('/^([0-9]{4})([0-1][0-9])([0-3][0-9])$/',$date,$matches); 67 throw new LogicException('The supplied iCalendar date value is incorrect: ' . $date); 74 $date = new DateTime($matches[1] . '-' . $matches[2] . '-' . $matches[3], $tz); [all …]
|
| /plugin/webdavclient/vendor/sabre/vobject/lib/ |
| D | DateTimeParser.php | 14 * This class is responsible for parsing the several different date and time 46 …$date = new DateTime($matches[1] . '-' . $matches[2] . '-' . $matches[3] . ' ' . $matches[4] . ':'… 49 // $date->setTimeZone(new \DateTimeZone('UTC')); 50 return $date; 55 * Parses an iCalendar (rfc5545) formatted date and returns a DateTime object. 57 * @param string $date 61 static public function parseDate($date, DateTimeZone $tz = null) { argument 64 $result = preg_match('/^([0-9]{4})([0-1][0-9])([0-3][0-9])$/',$date,$matches); 67 throw new LogicException('The supplied iCalendar date value is incorrect: ' . $date); 74 $date = new DateTime($matches[1] . '-' . $matches[2] . '-' . $matches[3], $tz); [all …]
|
| /plugin/davcal/vendor/sabre/vobject/lib/ |
| H A D | DateTimeParser.php | 14 * This class is responsible for parsing the several different date and time 46 …$date = new DateTime($matches[1] . '-' . $matches[2] . '-' . $matches[3] . ' ' . $matches[4] . ':'… 49 // $date->setTimeZone(new \DateTimeZone('UTC')); 50 return $date; 55 * Parses an iCalendar (rfc5545) formatted date and returns a DateTime object. 57 * @param string $date 61 static public function parseDate($date, DateTimeZone $tz = null) { argument 64 $result = preg_match('/^([0-9]{4})([0-1][0-9])([0-3][0-9])$/',$date,$matches); 67 throw new LogicException('The supplied iCalendar date value is incorrect: ' . $date); 74 $date = new DateTime($matches[1] . '-' . $matches[2] . '-' . $matches[3], $tz); [all …]
|
| /plugin/meta/ |
| 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'][$key] = $date; 77 unset($data['date']); 82 $protected = array('description', 'date', 'contributor'); [all …]
|
| /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->format('H'), $invert ? 59 : 0); 43 $current_hour = $date->format('H'); [all …]
|
| /plugin/calendoku/ |
| D | helper.php | 82 $date = new DateTime(); 83 $date->setDate(intval($year), intval($month), intval($day)); 84 $date->setTime(intval($hour), intval($minute), intval($second)); 86 if (intval($date->format('U')) < 86400) { 94 * PHP doesn't have proper support for date/time objects. The timezone 122 $date->setTimeZone($mytz); 124 $date->setTimeZone($utctz); 125 $datesecs = intval($date->format('U')); 126 $date->setTimeZone($mytz); 127 $datesecs = strval($datesecs - intval($date->getOffset())); [all …]
|
| /plugin/davcal/vendor/sabre/http/tests/HTTP/Auth/ |
| H A D | AWSTest.php | 95 $date = new \DateTime('@' . (time() + (60 * 20))); 96 $date->setTimeZone(new \DateTimeZone('GMT')); 97 $date = $date->format('D, d M Y H:i:s \\G\\M\\T'); 103 'Date' => $date, 123 $date = new \DateTime('@' . (time() - (60 * 20))); 124 $date->setTimeZone(new \DateTimeZone('GMT')); 125 $date = $date->format('D, d M Y H:i:s \\G\\M\\T'); 131 'Date' => $date, 152 $date = new \DateTime('now'); 153 $date->setTimeZone(new \DateTimeZone('GMT')); [all …]
|