Home
last modified time | relevance | path

Searched refs:date (Results 1 – 25 of 3164) sorted by relevance

12345678910>>...127

/plugin/yuriigantt/3rd/dhtmlxgantt/sources/ext/
Ddhtmlxgantt_csp.js127 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/webdav/vendor/sabre/vobject/lib/
DDateTimeParser.php48 …$date = new DateTimeImmutable($matches[1].'-'.$matches[2].'-'.$matches[3].' '.$matches[4].':'.$mat…
53 return $date;
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);
83 return $date;
193 * @param string $date
[all …]
/plugin/icalevents/vendor/sabre/vobject/lib/
DDateTimeParser.php48 …$date = new DateTimeImmutable($matches[1] . '-' . $matches[2] . '-' . $matches[3] . ' ' . $matches…
53 return $date;
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);
84 return $date;
200 * @param string $date
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/
Ddate.test2 "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 …]
Ddate_immutable.test2 "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') }}
11 {{ date1|date_modify('+1 hour')|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) }}
[all …]
/plugin/davcard/vendor/sabre/vobject/lib/
DDateTimeParser.php46 …$date = new DateTime($matches[1] . '-' . $matches[2] . '-' . $matches[3] . ' ' . $matches[4] . ':'…
50 return $date;
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);
75 return $date;
177 * @param string $date
181 static public function parse($date, $referenceTz = null) { argument
[all …]
/plugin/webdavclient/vendor/sabre/vobject/lib/
DDateTimeParser.php46 …$date = new DateTime($matches[1] . '-' . $matches[2] . '-' . $matches[3] . ' ' . $matches[4] . ':'…
50 return $date;
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);
75 return $date;
177 * @param string $date
181 static public function parse($date, $referenceTz = null) { argument
[all …]
/plugin/davcal/vendor/sabre/vobject/lib/
H A DDateTimeParser.php46 …$date = new DateTime($matches[1] . '-' . $matches[2] . '-' . $matches[3] . ' ' . $matches[4] . ':'…
50 return $date;
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);
75 return $date;
177 * @param string $date
181 static public function parse($date, $referenceTz = null) { argument
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/
Ddate.test2 "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' }}
Ddate_namedargs.test2 "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 DHoursField.php13 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 …]
H A DYearField.php13 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->format('Y'), 1, 1);
27 $date->setTime(0, 0, 0);
H A DDayOfWeekField.php24 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;
69 if ($date->format('N') != $weekday) {
73 $tdate = clone $date;
86 return $date->format('j') == $currentDay;
102 $fieldValue = $date->format($format);
[all …]
H A DMinutesField.php13 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->setTime($date->format('H'), $minutes[$position]);
/plugin/struct/meta/
H A DDateFormatConverter.php72 protected static $date = [ variable in dokuwiki\\plugin\\struct\\meta\\DateFormatConverter
127 $date = $strftime;
131 $datekeys = array_keys(self::$date);
143 $date = preg_replace($from, $to, $date);
148 $date = str_replace(
151 $date
155 return $date;
161 * @param string $date
164 public static function toStrftime($date) argument
169 $from = array_keys(self::$date);
[all …]
/plugin/yuriigantt/3rd/dhtmlxgantt/ext/
Ddhtmlxgantt_csp.js13date.date_to_str=function(t,e){return function(a){return t.replace(/%[a-zA-Z]/g,function(t){switch…
/plugin/calendoku/
Dhelper.php82 $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) {
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()));
128 $date = DateTime::createFromFormat('U', $datesecs);
[all …]
/plugin/statdisplay/helper/
Dtable.php79 * @param string $date
81 private function referer($date = '') argument
83 if (!$date) $date = date('Y-m');
85 $this->log->logdata[$date]['referer_url'],
86 $this->log->logdata[$date]['referer']['count'],
87 sprintf($this->getLang('t_topReferrer'), $date)
94 * @param string $date
96 private function entry($date = '') argument
98 if (!$date) $date = date('Y-m');
100 $this->log->logdata[$date]['entry'],
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/doc/functions/
Ddate.rst1 ``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/
Dedit.php107 $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);
119 $hh = date('H', $created);
[all …]
/plugin/meta/
Dsyntax.php68 foreach ($data['date'] as $key => $date) {
69 $date = $this->convertDate(trim($date));
70 if (!$date) {
73 $data['date'][$key] = $date;
118 private function convertDate($date) argument
120 list($start, $end) = explode('->', $date, 2);
124 list($date, $time) = explode(' ', trim($start), 2);
125 if (!preg_match('/\d{4}\-\d{2}\-\d{2}/', $date)) {
129 return strtotime($date.' '.$time);
171 private function autocompleteDate($date, $end=false) argument
[all …]
/plugin/heatmap/
Dhelper.php48 $date = date('Y-m-d', $meta['date']['created']);
52 if (!isset($postCount[$date])) {
53 $postCount[$date] = 0;
55 $postCount[$date]++;
58 if (!isset($postMap[$date])) {
59 $postMap[$date] = [];
62 $postMap[$date][] = [
70 foreach ($postCount as $date => $count) {
71 $postCountFormatted[] = [$date, $count];
76 foreach ($postMap as $date => $posts) {
[all …]
/plugin/cite/
Daction.php57 $revisionDateSummary = date('j F Y H:i T', $revisionId);
58 $revisionDateYear = date('Y', $revisionId);
59 $revisionDateMLA = date('j M Y, H:i T', $revisionId);
60 $revisionDateMHRA = date('j F Y, H:i T', $revisionId);
61 $revisionDateCBECSE = date('Y M j, H:i T', $revisionId);
62 $revisionDateAMA = date('F j, 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');
[all …]
/plugin/davcal/vendor/sabre/http/tests/HTTP/Auth/
H A DAWSTest.php95 $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 …]
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
Ddate.rst1 ``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 …]

12345678910>>...127