/plugin/yearbox/ |
H A D | syntax.php | 74 $opt['year'] = date('Y'); // this year 352 $today = mktime(0, 0, 0, (int)date('m'), (int)date('d'), (int)date('Y')); 357 $mth_last = (int)date('n'); 358 $yr_last = (int)date('Y'); 360 $mth_first = (int)date('n', $prev_date); 361 $yr_first = (int)date('Y', $prev_date); 384 $start = date('w', mktime(0, 0, 0, $mth_num, 1, (int)$year)); 385 $len = date('j', mktime(0, 0, 0, $mth_num + 1, 0, (int)$year)); 409 …$abstract = $meta['description']['abstract'] . '… ' . "\nEdited: " . date('Y-M-d', $meta['date']['…
|
/plugin/bliki/ |
H A D | syntax.php | 165 $date = date('Y-m-d', $ts); 166 if ($date != $last_date) { 168 $last_date = $date; 178 $timestamp = date($this->getConf('datefooter'), $ts); 196 $date = date($this->getConf('dateheader'), $ts); 197 return $date . "\n"; 215 $date = $parts[$s-3] . '-' . $parts[$s-2] . '-' . $parts[$s-1]; 243 return $ID . $sep . date('Y-m-d-His', $ts); 246 return $ID . $sep . date('Y' . $sep . 'm' . $sep . 'd' . $sep . 'His', $ts);
|
/plugin/task/ |
H A D | helper.php | 95 $date = $task['date']['due']; 129 if (!$date || ($date > time()) || ($task['status'] > 2)) continue; 130 elseif (($date + 86400 < time()) && ($filter == 'due')) continue; 136 'date' => $date, 295 $date = strtotime($str); 296 if ($date === -1) $date = NULL; 297 return $date; 387 function _vdate($date, $extended = false) { argument 388 if ($extended) return strftime('%Y-%m-%dT%H:%M:%SZ', $date); 389 else return strftime('%Y%m%dT%H%M%SZ', $date); [all …]
|
/plugin/findologicxmlexport/vendor/twig/extensions/doc/ |
H A D | date.rst | 13 Use the ``time_diff`` filter to render the difference between a date and now. 20 depending on the filtered date. 30 * ``date``: The date for calculate the difference from now. Can be a string 33 * ``now``: The date that should be used as now. Can be a string or 34 a DateTime instance. Do not set this argument to use current date.
|
/plugin/elasticsearch/vendor/ruflin/elastica/src/ |
H A D | Util.php | 22 * Checks if date math is already escaped within request URI. 35 * Escapes date math symbols within request URI. 37 * @see https://www.elastic.co/guide/en/elasticsearch/reference/5.x/date-math-index-names.html 49 // Check if date math if used at all. Find last '>'. E.g. /<log-{now/d}>,log-2011.12.01/log/_refresh 174 * This is the lucene date format 176 * @param int|string $date Date input (could be string etc.) -> must be supported by strtotime 178 * @return string Converted date string 180 public static function convertDate($date) argument 182 if (\is_int($date)) { 183 $timestamp = $date; [all...] |
/plugin/timetrack/ |
H A D | syntax.php | 106 foreach($datePeriod as $date) { 107 $week = $date->format("W"); 108 $content = ($last_year !== $date->format("Y")) ? $date->format("Y") . '/' : ''; 115 $last_year = $date->format("Y"); 130 foreach($datePeriod as $date) { 131 $week = $date->format("YW"); 153 foreach($datePeriod as $date) { 154 $week = $date->format("YW");
|
/plugin/blog/syntax/ |
H A D | archive.php | 133 // entry in the right date range? 134 if (($start > $entry['date']) || ($entry['date'] >= $end)) continue; 151 // entry in the right date range? 152 if (($start > $entry['date']) || ($entry['date'] >= $end)) continue; 174 // entry in the right date range? 175 if (($start > $entry['date']) || ($entry['date'] >= $end)) continue; 177 if ($current_year != date(' [all...] |
/plugin/noticeboard/classes/ |
H A D | ICal.php | 86 $out .= "DTSTART:".date("Ymd\THis\Z",$notice->getStartTime())."\r\n"; 88 $out .= "DTEND:".date("Ymd\THis\Z",$notice->getEndTime())."\r\n"; 90 $out .= "DTEND:".date("Ymd\THis\Z",$notice->getStartTime())."\r\n"; 99 $out .= "DTSTART:".date("Ymd\THis\Z",$notice->getDeadline())."\r\n"; 100 $out .= "DTEND:".date("Ymd\THis\Z",$notice->getDeadline())."\r\n";
|
/plugin/noticeboard/noticeboard/classes/ |
H A D | ICal.php | 86 $out .= "DTSTART:".date("Ymd\THis\Z",$notice->getStartTime())."\r\n"; 88 $out .= "DTEND:".date("Ymd\THis\Z",$notice->getEndTime())."\r\n"; 90 $out .= "DTEND:".date("Ymd\THis\Z",$notice->getStartTime())."\r\n"; 99 $out .= "DTSTART:".date("Ymd\THis\Z",$notice->getDeadline())."\r\n"; 100 $out .= "DTEND:".date("Ymd\THis\Z",$notice->getDeadline())."\r\n";
|
/plugin/anewssystem/tpl/ |
H A D | newstemplate.txt | 6 start |date |size="10" |now |Publishing date |startdescr 7 stop |date |size="10" |4 month|Perishing date |stopdescr
|
H A D | newstemplate_en.txt | 6 start |date |size="10" |now |Publishing date |startdescr 7 stop |date |size="10" |4 month|Perishing date |stopdescr
|
H A D | newstemplate_it.txt | 6 start |date |size="10" |now |Publishing date |startdescr 7 stop |date |size="10" |4 month|Perishing date |stopdescr
|
/plugin/combo/vendor/dragonmantank/cron-expression/tests/Cron/ |
H A D | CronExpressionTest.php | 130 // Should return the sunday date as 7 equals 0 194 $relativeTimeString = is_int($relativeTime) ? date('Y-m-d H:i:s', $relativeTime) : $relativeTime; 196 // Test next run date 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, [all...] |
/plugin/structnotification/action/ |
H A D | notification.php | 206 protected function predicateTrue($date, $operator, $value) { 207 $date = date('Y-m-d', strtotime($date)); 211 $days = date('Y-m-d', strtotime("+$value days")); 212 return $days >= $date; 214 $days = date('Y-m-d', strtotime("-$value days")); 215 return $date <= $days; 218 $at = new DateTime(date($value, strtotime($date))); 204 predicateTrue($date, $operator, $days) global() argument [all...] |
/plugin/webdav/vendor/sabre/vobject/resources/schema/ |
H A D | xcal.rng | 211 value-date = element date { 212 pattern-date 221 value-date-time = element date-time { 297 type-date | 298 type-date-time 863 value-date 875 value-date 887 value-date 1031 value-date 1074 value-date+ [all …]
|
/plugin/icalevents/vendor/sabre/vobject/resources/schema/ |
H A D | xcal.rng | 211 value-date = element date { 212 pattern-date 221 value-date-time = element date-time { 297 type-date | 298 type-date-time 863 value-date 875 value-date 887 value-date 1031 value-date 1074 value-date+ [all …]
|
/plugin/facebookevents/ |
H A D | syntax.php | 126 $to = mktime(24, 0, 0, date("m") , date("d"), date("Y")); 205 $start_date = date( $date_format, strtotime($event['start_time'])); 206 $start_time = date( $time_format, strtotime($event['start_time'])); 211 $end_date = date( $date_format, strtotime($event['end_time'])); 212 $end_time = date( $time_format, strtotime($event['end_time'])); 274 $compare_start_date = date( "Ymd", strtotime($event['start_time'])); 275 $compare_end_date = date( "Ymd", strtotime($event['end_time']));
|
/plugin/abc2/abc-libraries/abc2svg/ |
H A D | page-1.js | 233 function strftime(sFormat,date){if(!(date instanceof Date))date=new Date();var nDay=date.getDay(),nDate=date.getDate(),nMonth=date.getMonth(),nYear=date.getFullYear(),nHour=date.getHours(),aDays=['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],aMonths=['January','February','March','April','May','June','July','August','September','October','November','December'],aDayCount=[0,31,59,90,120,151,181,212,243,273,304,334],isLeapYear=function(){return(nYear%4===0&&nYear%100!==0)||nYear%400===0},getThursday=function(){var target=new Date(date);target.setDate(nDate-((nDay+6)%7)+3);return target},zeroPad=function(nNum,nPad){return((Math.pow(10,nPad)+nNum)+'').slice(1)};return sFormat.replace(/%[a-z]/gi,function(sMatch){return(({'%a':aDays[nDay].slice(0,3),'%A':aDays[nDay],'%b':aMonths[nMonth].slice(0,3),'%B':aMonths[nMonth],'%c':date argument [all...] |
/plugin/semantic/ |
H A D | helper.php | 76 if (!isset($this->meta['date']) || $this->meta['date'] == '') { 164 return (isset($this->meta['date']['created']) ? $this->meta['date']['created'] : -1); 174 return (isset($this->meta['date']['modified']) ? $this->meta['date']['modified'] : -1);
|
/plugin/fkstimer/ |
H A D | action.php | 17 $date = date('Y-m-d\TH:i:s', time() + ($this->getConf('server-correction'))); 21 'content' => $date
|
/plugin/findologicxmlexport/vendor/twig/twig/src/Extension/ |
H A D | CoreExtension.php | 420 return $date->format($format); 438 $date = twig_date_converter($env, $date, false); 472 return false !== $timezone ? $date->setTimezone($timezone) : $date; 475 if ($date instanceof \DateTime || $date instanceof \DateTimeInterface) { 476 $date = clone $date; 481 return $date; 484 if (null === $date || 'now' === $date) { 488 $asString = (string) $date; 490 $date = new \DateTime('@'.$date); 492 … $date = new \DateTime($date, $env->getExtension('\Twig\Extension\CoreExtension')->getTimezone()); [all …]
|
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/ |
H A D | date_modify.rst | 7 The ``date_modify`` filter modifies a date with a given modifier string: 11 {{ post.published_at|date_modify("+1 day")|date("m/d/Y") }} 15 it with the :doc:`date<date>` filter for formatting.
|
/plugin/freechat/phpfreechat/data/public/js/ |
H A D | compat.js | 29 var date = new Date (); 30 date.setTime (date.getTime () + (((((expires * 24) * 60) * 60) * 1000))); 31 expires = '; expires=' + date.toGMTString ();
|
/plugin/struct/types/ |
H A D | Date.php | 26 $date = date_create($value); 27 if ($date !== false) { 28 $out = date_format($date, $this->config['format']); 49 $rawvalue = date('Y-m-d'); 56 'type' => 'date', // HTML5 date picker 80 throw new ValidationException('invalid date format');
|
/plugin/discussion/ |
H A D | convert.php | 122 $date = strtotime($strd); 123 if ($date == -1) $date = time(); 128 $cid = md5($name.$date); 138 'date' => array('created' => $date),
|