Home
last modified time | relevance | path

Searched +full:date -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang) (Results 1 – 25 of 436) sorted by relevance

12345678910>>...18

/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Element/
H A DFeedDate.php4 * FeedDate is an internal class that stores a date for a feed or feed item.
12 * Creates a new instance of FeedDate representing a given date.
13 * Accepts RFC 822, ISO 8601 date formats (or anything that PHP's DateTime
16 …* @param mixed $dateString optional the date this FeedDate will represent. If not specified, the c…
22 $dateString = date("r");
37 * Gets the date stored in this FeedDate as an RFC 822 date.
39 * @return string a date in RFC 822 format
44 $date = gmdate("D, d M Y H:i:s O", $this->unix);
46 return $date;
50 * Gets the date stored in this FeedDate as an ISO 8601 date.
[all …]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Parse/
H A DDate.php8 use SimplePie\Parse\Date; alias
10 class_exists('SimplePie\Parse\Date');
12 …rse_Date" class is deprecated since SimplePie 1.7.0, use "SimplePie\Parse\Date" instead.'), \E_USE…
16 /** @deprecated since SimplePie 1.7.0, use "SimplePie\Parse\Date" instead */
17 class SimplePie_Parse_Date extends Date
/dokuwiki/.github/
H A Drelease.php36 …$options->registerOption('date', 'The date to use for the version. Defaults to today', null, 'YYYY…
63 …$current['file'] = ($current['type'] === 'rc' ? 'rc' : '') . $current['date'] . $current['hotfix'];
81 'date' => $options->getOpt('date'),
86 if (!$next['date']) $next['date'] = date('Y-m-d');
97 $next['date'] = $current['date'];
103 if (!preg_match('/^\d{4}-\d{2}-\d{2}$/', $next['date'])) {
104 throw new \splitbrain\phpcli\Exception('Invalid date format, use YYYY-MM-DD');
107 if ($current['date'] > $next['date']) {
108 … throw new \splitbrain\phpcli\Exception('Date must be equal or later than the last release');
121 $next['version'] = $next['date'] . ($next['type'] === 'rc' ? 'rc' : $next['hotfix']);
[all …]
/dokuwiki/lib/plugins/extension/
H A DManager.php43 $this->data['updated'] = date('r');
46 $this->data['installed'] = date('r');
83 $date = $this->data['updated'] ?? $this->data['installed'] ?? '';
84 if (!$date) return null;
86 return new \DateTime($date);
102 $date = $this->data['installed'] ?? '';
103 if (!$date) return null;
105 return new \DateTime($date);
/dokuwiki/inc/Action/
H A DSave.php34 global $DATE;
50 $DATE != 0
51 && isset($INFO['meta']['date']['modified'])
52 && $INFO['meta']['date']['modified'] > $DATE
H A DEdit.php56 global $DATE;
79 // Use the date of the newest revision, not of the revision we edit
81 if (!$DATE) $DATE = @filemtime(wikiFN($ID));
/dokuwiki/lib/plugins/logviewer/
H A Dadmin.php19 protected $date; variable in admin_plugin_logviewer
38 $this->date = $INPUT->str('date');
39 if (!preg_match('/^\d\d\d\d-\d\d-\d\d$/', $this->date)) {
40 $this->date = date('Y-m-d');
55 * Show the navigational tabs and date picker
65 $form->addTextInput('date', $this->getLang('date'))
66 ->attr('type', 'date')->val($this->date)->addClass('quickselect');
78 … ['do' => 'admin', 'page' => 'logviewer', 'date' => $this->date, 'facility' => $facility]
92 $logfile = Logger::getInstance($this->facility)->getLogfile($this->date);
/dokuwiki/vendor/php81_bc/strftime/
H A Dexample.php6 $date = '20220312'; variable
8 echo strftime('%Y-%m-%d %H:%M:%S', $date), PHP_EOL;
9 echo strftime('%Y-%m-%d %H:%M:%S', strtotime($date)), PHP_EOL;
/dokuwiki/inc/Feed/
H A DFeedParserItem.php21 } elseif (($date = $this->get_date('U')) !== null && $date !== false) {
22 return strftime($date_format, $date);
/dokuwiki/vendor/kissifrot/php-ixr/src/DataType/
H A DDate.php11 class Date class
28 $date = new \DateTime();
29 $this->dateTime = $date->setTimestamp($timestamp);
36 * @throws \Exception when no valid date is given
/dokuwiki/inc/File/
H A DPageFile.php49 * Get raw WikiText of the page, considering change type at revision date
200 'date' => $data['newRevision'],
238 if (touch($fileLastMod, $revInfo['date'])) {
241 $details = '(' . $wrong_timestamp . ' -> ' . $revInfo['date'] . ')';
252 if ($revInfo['date'] == time()) sleep(1); // wait a tick
264 * Moves the current version to the attic and returns its revision date
274 $date = filemtime($oldfile);
275 $newfile = $this->getPath($date);
276 io_writeWikiPage($newfile, $this->rawWikiText(), $this->id, $date);
277 return $date;
[all …]
/dokuwiki/_test/tests/inc/
H A Dtoolbar.test.php8 $conf['signature'] = '" --- \\\\n //[[@MAIL@|@NAME@]] (@USER@) @DATE@//"';
13 $date = str_replace('/', '\/', dformat());
16 'alert(\"\\\\123\\\\\\")<\/script>]] (john) '.$date.'\/\/\""';
H A Dcommon_saveWikiText.test.php28 $this->assertCount($expectedRevs, array_unique($revisions), 'date duplicated in changelog');
37 $attic = wikiFN($lastRevInfo['id'], $lastRevInfo['date']);
61 $this->assertCount($expectedRevs, array_unique($revisions), 'date duplicated in changelog');
79 $attic = wikiFN($currentRevInfo['id'], $currentRevInfo['date']);
111 'date' => $lastmod,
140 'date' => $lastmod,
159 'date' => $lastmod,
179 'date' => $lastmod,
196 //'date' => $lastmod, // ignore from lastRev assertion, but confirm attic file existence
217 'date' => $lastmod,
[all …]
/dokuwiki/inc/
H A Dchangelog.php37 * @param int $date Timestamp of the change
53 $date, argument
73 if (!$date) $date = time(); //use current time if none supplied
81 'date' => $date,
103 * @param int $date Timestamp of the change
114 $date, argument
131 if (!$date) $date = time(); //use current time if none supplied
138 'date' => $date,
225 if (($flags & RECENTS_MEDIA_PAGES_MIXED) && @$media_rec['date'] >= @$rec['date']) {
264 * @param int $from date of the oldest entry to return
[all …]
H A DLogger.php206 $logline = date('Y-m-d H:i:s', $datetime) . "\t";
220 * @param false|string|int $date Date to access, false for today
223 public function getLogfile($date = false) argument
227 if ($date !== null && !is_numeric($date)) {
228 $date = strtotime($date);
230 if (!$date) $date = time();
232 return $conf['logdir'] . '/' . $this->facility . '/' . date('Y-m-d', $date) . '.log';
H A DInfo.php23 'date' => '', // YYYY-MM-DD
31 $return['date'] = $matches[2];
47 $return['version'] = $return['date'];
/dokuwiki/vendor/simplepie/simplepie/src/Parse/
H A DDate.php11 * Date Parser
13 class Date class
21 public $date; variable in SimplePie\\Parse\\Date
520 * Cached PCRE for Date::$day
528 * Cached PCRE for Date::$month
552 * Create new Date object, and set self::day_pcre,
582 * @return Date
588 $object = new Date();
594 * Parse a date
598 * @param string $date Date to parse
[all …]
/dokuwiki/_test/tests/
H A DInfoTest.php18 'date' => '2010-10-07',
29 'date' => '2017-02-19',
40 'date' => '2017-02-19',
/dokuwiki/lib/plugins/styling/_test/
H A Dgeneral.test.php22 $this->assertArrayHasKey('date', $info);
30 $this->assertMatchesRegularExpression('/^\d\d\d\d-\d\d-\d\d$/', $info['date']);
31 $this->assertTrue(false !== strtotime($info['date']));
/dokuwiki/vendor/php81_bc/strftime/src/
H A DDateLocaleFormatter.php14 /** @var string[] strftime() to date() like formats that are dependend on Locales */
21 '%c' => 'F j, Y \a\t g:i A', // Preferred date and time stamp
22 '%x' => 'n/j/y', // Preferred date representation, without the time
/dokuwiki/inc/Ui/
H A DPageDiff.php79 'date' => false,
148 $isCurrent = $changelog->isCurrentRevision($RevInfo->val('date'));
154 $rev = $isCurrent ? '' : $RevInfo->val('date');
195 $rev1Summary = ($this->RevInfo1->val('date'))
204 $rev2Summary = ($this->RevInfo2->val('date'))
298 // use timestamp for current revision, date may be false when revisions < 2
299 [$rev1, $rev2] = [(int)$this->RevInfo1->val('date'), (int)$this->RevInfo2->val('date')];
347 // use timestamp for current revision, date may be false when revisions < 2
348 [$rev1, $rev2] = [(int)$this->RevInfo1->val('date'), (int)$this->RevInfo2->val('date')];
428 // use timestamp for current revision, date may be false when revisions < 2
[all …]
H A DMediaDiff.php92 $isCurrent = $changelog->isCurrentRevision($RevInfo->val('date'));
96 $rev = $isCurrent ? '' : $RevInfo->val('date');
161 // use timestamp for current revision, date may be false when revisions < 2
162 [$rev1, $rev2] = [(int)$this->RevInfo1->val('date'), (int)$this->RevInfo2->val('date')];
191 $rev1 = $this->RevInfo1->isCurrent() ? '' : $this->RevInfo1->val('date');
192 $rev2 = $this->RevInfo2->isCurrent() ? '' : $this->RevInfo2->val('date');
235 $rev1 = $this->RevInfo1->isCurrent() ? '' : (int)$this->RevInfo1->val('date');
236 $rev2 = $this->RevInfo2->isCurrent() ? '' : (int)$this->RevInfo2->val('date');
240 $rev1Summary = ($this->RevInfo1->val('date'))
244 $rev2Summary = ($this->RevInfo2->val('date'))
[all …]
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DOPMLCreator.php31 $date = new FeedDate($this->pubDate);
32 $feed .= " <dateCreated>".$date->rfc822()."</dateCreated>\n";
35 $date = new FeedDate($this->lastBuildDate);
36 $feed .= " <dateModified>".$date->rfc822()."</dateModified>\n";
/dokuwiki/vendor/geshi/geshi/src/geshi/
H A Drsplus.php11 * Date Started: 2009/03/28
74 …ault', 'as.call', 'as.character', 'as.character.condition', 'as.character.Date', 'as.character.def…
77 …ter', 'as.data.frame.complex', 'as.data.frame.data.frame', 'as.data.frame.Date', 'as.data.frame.de…
81 …'as.data.frame.ts', 'as.data.frame.vector', 'as.Date', 'as.Date.character', 'as.Date.date', 'as.Da…
82 …'as.Date.default', 'as.Date.factor', 'as.Date.numeric', 'as.Date.POSIXct', 'as.Date.POSIXlt', 'as.…
88 …'as.POSIXct.date', 'as.POSIXct.Date', 'as.POSIXct.dates', 'as.POSIXct.default', 'as.POSIXct.numeri…
89 …'as.POSIXlt', 'as.POSIXlt.character', 'as.POSIXlt.date', 'as.POSIXlt.Date', 'as.POSIXlt.dates', 'a…
95 …, 'browser', 'builtins', 'by', 'by.data.frame', 'by.default', 'bzfile', 'c', 'c.Date', 'c.noquote',
102 …ossprod', 'Cstack_info', 'cummax', 'cummin', 'cumprod', 'cumsum', 'cut', 'cut.Date', 'cut.default',
103 …'cut.POSIXt', 'data.class', 'data.frame', 'data.matrix', 'date', 'debug', 'default.stringsAsFactor…
[all …]
/dokuwiki/inc/ChangeLog/
H A DPageChangeLog.php46 * @param int $timestamp log line date (optional)
55 if (isset($timestamp)) unset($this->cache[$this->id][$info['date']]);
63 $this->currentRevision = $info['date'];

12345678910>>...18