Home
last modified time | relevance | path

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

12345678910>>...25

/template/strap/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]);
H A DDayOfMonthField.php59 public function isSatisfiedBy(DateTime $date, $value) argument
66 $fieldValue = $date->format('d');
70 return $fieldValue == $date->format('t');
78 return $date->format('j') == self::getNearestWeekday(
79 $date->format('Y'),
80 $date->format('m'),
85 return $this->isSatisfied($date->format('d'), $value);
88 public function increment(DateTime $date, $invert = false) argument
91 $date->modify('previous day');
92 $date->setTime(23, 59);
[all …]
H A DMonthField.php12 public function isSatisfiedBy(DateTime $date, $value) argument
24 return $this->isSatisfied($date->format('m'), $value);
27 public function increment(DateTime $date, $invert = false) argument
30 $date->modify('last day of previous month');
31 $date->setTime(23, 59);
33 $date->modify('first day of next month');
34 $date->setTime(0, 0);
H A DFieldInterface.php14 * @param DateTime $date DateTime object to check
19 public function isSatisfiedBy(DateTime $date, $value); argument
25 * @param DateTime $date DateTime object to change
30 public function increment(DateTime $date, $invert = false); argument
/template/strap/ComboStrap/
H A DDateTag.php25 * @param string $date
31 …public static function formatDateString(string $date, string $format = DateTag::DEFAULT_FORMAT, st… argument
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);
65 $timeStamp = Iso8601Date::createFromString($date)->getDateTime()->getTimestamp();
71 …throw new ExceptionBadSyntax("Unable to format the date ($date) with the format ($format) and lang…
103 … $date = $tagAttributes->getComponentAttributeValue(DateTag::DATE_ATTRIBUTE, $defaultDateTime);
105 return DateTag::formatDateString($date, $format, $lang);
119 $date = $call->getCapturedContent();
120 $openingTag->addAttribute(DateTag::DATE_ATTRIBUTE, $date);
H A DPagePublicationDate.php128 $date = $matches[1];
130 return Iso8601Date::createFromString($date)->getDateTime();
/template/strap/vendor/dragonmantank/cron-expression/tests/Cron/
H A DCronExpressionTest.php194 … $relativeTimeString = is_int($relativeTime) ? date('Y-m-d H:i:s', $relativeTime) : $relativeTime;
201 $relativeTime = date('Y-m-d H:i:s', $relativeTime);
217 $this->assertTrue($cron->isDue(date('Y-m-d H:i')));
226 $date = '2014-01-01 15:00'; //Wednesday
232 $this->assertTrue($cron->isDue(new DateTime($date, $utc)));
233 $this->assertFalse($cron->isDue(new DateTime($date, $amsterdam)));
234 $this->assertFalse($cron->isDue(new DateTime($date, $tokyo)));
237 $this->assertFalse($cron->isDue(new DateTime($date, $utc)));
238 $this->assertTrue($cron->isDue(new DateTime($date, $amsterdam)));
239 $this->assertFalse($cron->isDue(new DateTime($date, $tokyo)));
[all …]
/template/twigstarter/vendor/twig/twig/src/Extension/
DCoreExtension.php453 function twig_date_format_filter(Environment $env, $date, $format = null, $timezone = null) argument
457 $format = $date instanceof \DateInterval ? $formats[1] : $formats[0];
460 if ($date instanceof \DateInterval) {
461 return $date->format($format);
464 return twig_date_converter($env, $date, $timezone)->format($format);
477 function twig_date_modify_filter(Environment $env, $date, $modifier) argument
479 $date = twig_date_converter($env, $date, false);
481 return $date->modify($modifier);
509 function twig_date_converter(Environment $env, $date = null, $timezone = null) argument
521 if ($date instanceof \DateTimeImmutable) {
[all …]
/template/tripillar/css/
Dfordokuwiki.less46 .date-header { background-color: transparent; }
47 .date-header:hover { background-color: unset; }
48 .date-header bdi:hover { background-color: __hyperlinkcolour__; }
49 .date-header a:link, .date-header a:visited { color: __postfootertextcolour__; width: 100%; }
50 .date-header a:hover { color: unset; text-decoration: none; }
53 .date-header bdi {
/template/tr-twitter/
Dwidgets.php4 … <li><b>Created:</b> <?php echo date('l jS F Y H:i:s', $INFO['meta']['date']['created']); ?></li>
5 … <li><b>Edited:</b> <?php echo date('l jS F Y H:i:s', $INFO['meta']['date']['modified']); ?></li>
/template/white-resume/
Dtpl_functions.php75 $date = dformat($INFO['lastmod']);
82 $out .= $date;
/template/white/
Dtpl_functions.php75 $date = dformat($INFO['lastmod']);
82 $out .= $date;
/template/strap/vendor/dragonmantank/cron-expression/
H A DREADME.md7 due to run, calculate the next run date of the expression, and calculate the previous
8 run date of the expression. You can calculate dates far into the future or past by
42 // Calculate a run date two iterations into the future
46 // Calculate a run date relative to a specific time
/template/ad-hominem/
H A Dscript.js351 const date = new Date();
352 date.setFullYear(date.getFullYear() + 1);
356 …document.cookie = 'cookielaw=1; path=' + path + '; expires=' + date.toUTCString() + '; SameSite=La…
/template/typowiki/typowiki/scss/
D_form.scss5 input[type="date"],
36 .dark input[type="date"],
81 input[type="date"]:focus,
103 .dark input[type="date"]:focus,
136 input[type="date"][disabled],
/template/twentyfifteen/css/
Ddesign.less12 .entry-date:before,
321 .entry-date,
329 .entry-date:before,
338 .entry-date:before {
423 .entry-date:before,
432 .entry-date,
/template/strap/vendor/salesforce/handlebars-php/src/Handlebars/
H A DHelpers.php555 $date = $context->get($keyname);
558 if (is_numeric($date)) {
559 $dt = (new DateTime)->setTimestamp($date);
561 $dt = new DateTime($date);
565 return $date;
/template/writers/css/
D_recent.css29 .dokuwiki #dw__recent li span.date,
30 .dokuwiki #page__revisions li span.date {
/template/starterpjax/css/
D_recent.css46 .dokuwiki #dw__recent ul li span.date, /* old, until 2012-01-25 */
47 .dokuwiki #page__revisions ul li span.date, /* old, until 2012-01-25 */
48 .dokuwiki form.changes ul li span.date /* new */ {
/template/vector20/static/3rd/dokuwiki/
D_recent.css46 .dokuwiki #dw__recent ul li span.date, /* old, until 2012-01-25 */
47 .dokuwiki #page__revisions ul li span.date, /* old, until 2012-01-25 */
48 .dokuwiki form.changes ul li span.date /* new */ {
/template/zenlike/css/
D_recent.css46 .dokuwiki #dw__recent ul li span.date, /* old, until 2012-01-25 */
47 .dokuwiki #page__revisions ul li span.date, /* old, until 2012-01-25 */
48 .dokuwiki form.changes ul li span.date /* new */ {
/template/monobook/static/3rd/dokuwiki/
D_recent.css46 .dokuwiki #dw__recent ul li span.date, /* old, until 2012-01-25 */
47 .dokuwiki #page__revisions ul li span.date, /* old, until 2012-01-25 */
48 .dokuwiki form.changes ul li span.date /* new */ {

12345678910>>...25