Home
last modified time | relevance | path

Searched +full:- +full:- +full:date (Results 1 – 25 of 623) sorted by relevance

12345678910>>...25

/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");
26 $this->unix = $dateString;
29 $this->unix = (int) (new Datetime($dateString))->format('U');
31 $this->unix = 0;
37 * Gets the date stored in this FeedDate as an RFC 822 date.
39 * @return string a date in RFC 822 format
[all …]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/Parse/
H A DDate.php3 // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue
4 // SPDX-License-Identifier: BSD-3-Clause
8 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…
14 /** @phpstan-ignore-next-line */
16 /** @deprecated since SimplePie 1.7.0, use "SimplePie\Parse\Date" instead */
17 class SimplePie_Parse_Date extends Date
/dokuwiki/lib/plugins/logviewer/
H A Dadmin.php10 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
19 protected $date; variable in admin_plugin_logviewer
32 $this->facilities = $this->getFacilities();
33 $this->facility = $INPUT->str('facility');
34 if (!in_array($this->facility, $this->facilities)) {
35 $this->facility = $this->facilities[0];
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');
48 echo $this->locale_xhtml('intro');
[all …]
/dokuwiki/lib/plugins/extension/
H A DManager.php26 $this->extension = $extension;
27 $this->path = $this->extension->getInstallDir() . '/manager.dat';
28 $this->data = $this->readFile();
40 $this->data['downloadurl'] = $url;
41 if (isset($this->data['installed'])) {
43 $this->data['updated'] = date('r');
46 $this->data['installed'] = date('r');
50 foreach ($this->data as $k => $v) {
53 io_saveFile($this->path, $data);
63 if (!is_readable($this->path)) return $data;
[all …]
/dokuwiki/.github/
H A Drelease.php25 $this->BASERAW = 'https://raw.githubusercontent.com/' . $repo . '/stable/';
32 $options->setHelp('This tool is used to gather and check data for building a release');
34 $options->registerCommand('new', 'Get environment for creating a new release');
35 …$options->registerOption('type', 'The type of release to build', null, join('|', self::TYPES), 'ne…
36 …$options->registerOption('date', 'The date to use for the version. Defaults to today', null, 'YYYY
37 …$options->registerOption('name', 'The codename to use for the version. Defaults to the last used o…
39 $options->registerCommand('current', 'Get environment of the current release');
44 switch ($options->getCmd()) {
46 $this->prepareNewEnvironment($options);
49 $this->prepareCurrentEnvironment($options);
[all …]
/dokuwiki/inc/File/
H A DPageFile.php29 $this->id = $id;
30 $this->changelog = new PageChangeLog($this->id);
36 return $this->id;
42 return wikiFN($this->id, $rev);
46 * Get raw WikiText of the page, considering change type at revision date
55 $revInfo = $rev ? $this->changelog->getRevisionInfo($rev) : false;
58 : io_readWikiPage($this->getPath($rev), $this->id, $rev); // retrieve from attic
60 return io_readWikiPage($this->getPath(), $this->id, '');
91 if (isset($this->data)) return;
93 $pagefile = $this->getPath();
[all …]
/dokuwiki/vendor/php81_bc/strftime/
H A Dexample.php6 $date = '20220312'; variable
7 echo strftime('%Y-%m-%d %H:%M:%S'), PHP_EOL;
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/vendor/kissifrot/php-ixr/src/DataType/
H A DDate.php11 class Date class
20 $this->parseTimestamp($time);
22 $this->parseIso($time);
28 $date = new \DateTime();
29 $this->dateTime = $date->setTimestamp($timestamp);
36 * @throws \Exception when no valid date is given
39 $this->dateTime = new \DateTime($iso, new \DateTimeZone('UTC'));
44 return $this->dateTime->format(\DateTime::ATOM);
49 return '<dateTime.iso8601>' . $this->getIso() . '</dateTime.iso8601>';
54 return (int)$this->dateTime->format('U');
/dokuwiki/_test/tests/inc/
H A Dinfoutils_getversiondata.test.php6 * On a git checkout the reported date and hash must be well-formed.
8 * The git call uses --pretty=reference to avoid percent placeholders: on
10 * "--pretty=format:%h %cd" command made git echo literal text and
11 * getVersionData() reported date "h" with an empty hash. This test runs on
17 $this->markTestSkipped('not running from a git checkout');
20 $this->assertMatchesRegularExpression('/^\d{4}-\d{2}-\d{2}$/', $version['date']);
21 $this->assertMatchesRegularExpression('/^[0-9a-f]{7,40}$/', $version['sha']);
H A Dcommon_saveWikiText.test.php12 if ($event->data[3] !== false) {
13 $this->waitForTick();
26 $revisions = $pagelog->getRevisions(-1, 200);
27 $this->assertCount($expectedRevs, $revisions);
28 $this->assertCount($expectedRevs, array_unique($revisions), 'date duplicated in changelog');
30 $lastRevInfo = $pagelog->getRevisionInfo($revisions[0]);
32 $this->assertEquals($expectedLastEntry, $lastRevInfo);
34 $currentRevInfo = $pagelog->getCurrentRevisionInfo();
35 … $this->assertEquals($currentRevInfo, $lastRevInfo, 'current & last revs should be identical');
37 $attic = wikiFN($lastRevInfo['id'], $lastRevInfo['date']);
[all …]
H A Dtoolbar.test.php8 $conf['signature'] = '" --- \\\\n //[[@MAIL@|@NAME@]] (@USER@) @DATE@//"';
13 $date = str_replace('/', '\/', dformat());
15 $expected = '"\" --- \\\n \/\/[[example@example.org|\/*!]]>*\/<\/script><script>'.
16 'alert(\"\\\\123\\\\\\")<\/script>]] (john) '.$date.'\/\/\""';
18 $this->assertEquals($expected, toolbar_signature());
/dokuwiki/_test/tests/
H A DInfoTest.php15 'rc2010-10-07 "Lazy Sunday"',
18 'date' => '2010-10-07',
20 'version' => '2010-10-07rc',
22 'raw' => 'rc2010-10-07 "Lazy Sunday"',
26 '2017-02-19d "Frusterick Manners"',
29 'date' => '2017-02-19',
31 'version' => '2017-02-19d',
33 'raw' => '2017-02-19d "Frusterick Manners"',
37 '2017-02-19 "Frusterick Manners"',
40 'date' => '2017-02-19',
[all …]
/dokuwiki/_test/tests/Parsing/ParserMode/
H A DRssTest.php12 $this->P->addMode('rss', new Rss());
17 $this->P->parse('Foo {{rss>http://example.com/feed}} Bar');
27 'date' => 0,
37 $this->assertCalls($calls, $this->H->calls);
42 $this->P->parse('{{rss>http://example.com/feed 5}}');
49 'date' => 0,
56 $this->assertCalls($calls, $this->H->calls);
61 $this->P->parse('{{rss>http://example.com/feed 3 rev author date desc nosort 2h}}');
68 'date' => 1,
75 $this->assertCalls($calls, $this->H->calls);
[all …]
/dokuwiki/inc/ChangeLog/
H A DChangeLog.php31 $this->cache =& $cache_revinfo;
32 if (!isset($this->cache[$id])) {
33 $this->cache[$id] = [];
36 $this->id = $id;
37 $this->setChunkSize($chunk_size);
56 * Returns path to the global changelog file (the cross-page recent-changes feed)
70 return $rev == $this->currentRevision();
81 return $rev === $this->lastRevision();
97 if (!isset($this->currentRevision)) {
99 $this->getCurrentRevisionInfo();
[all …]
/dokuwiki/inc/Action/
H A DSave.php34 global $DATE;
45 msg($lang['wordblock'], -1);
50 $DATE != 0
51 && isset($INFO['meta']['date']['modified'])
52 && $INFO['meta']['date']['modified'] > $DATE
58 …saveWikiText($ID, con($PRE, $TEXT, $SUF, true), $SUM, $INPUT->bool('minor')); //use pretty mode fo…
62 // continue with draftdel -> redirect -> show
/dokuwiki/lib/plugins/styling/_test/
H A Dgeneral.test.php17 $this->assertFileExists($file);
21 $this->assertArrayHasKey('base', $info);
22 $this->assertArrayHasKey('author', $info);
23 $this->assertArrayHasKey('email', $info);
24 $this->assertArrayHasKey('date', $info);
25 $this->assertArrayHasKey('name', $info);
26 $this->assertArrayHasKey('desc', $info);
27 $this->assertArrayHasKey('url', $info);
29 $this->assertEquals('styling', $info['base']);
30 $this->assertMatchesRegularExpression('/^https?:\/\//', $info['url']);
[all …]
/dokuwiki/vendor/simplepie/simplepie/src/Parse/
H A DDate.php3 // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue
4 // SPDX-License-Identifier: BSD-3-Clause
11 * Date Parser
13 class Date class
21 public $date; variable in SimplePie\\Parse\\Date
320 'ACT' => -18000,
326 'AKDT' => -28800,
327 'AKST' => -32400,
329 'AMT' => -14400,
332 'ART' => -10800,
[all …]
/dokuwiki/_test/tests/ChangeLog/
H A DMediaChangeLogTest.php10 * Media files differ from pages in one way that matters to external-change detection: media
13 * base-class logic that reads it - the unchanged-content guard and the old-size lookup for
14 * the size change - has to be handled specially for media.
22 …protected function seedMedia($image, $content, $date, $type = DOKU_CHANGE_TYPE_CREATE, $sizechange… argument
25 touch(mediaFN($image), $date);
28 $date,
39 * A media file whose mtime is bumped without any content change (a touch, an rsync --times,
43 * to the recorded revision date and no changelog entry is added.
48 $lastRev = time() - 1000;
49 $this->seedMedia($image, str_repeat('x', 100), $lastRev);
[all …]
/dokuwiki/inc/lang/fr/
H A Dsubscr_single.txt6 --------------------------------------------------------
8 --------------------------------------------------------
10 Date : @DATE@
16 Pour annuler les notifications de page, connectez-vous au wiki à l'adresse
19 et désabonnez-vous de la page ou de la catégorie.
/dokuwiki/inc/lang/en/
H A Dsubscr_single.txt6 --------------------------------------------------------
8 --------------------------------------------------------
14 Date of New Revision: @DATE@
/dokuwiki/inc/Feed/
H A DFeedParserItem.php20 return $this->sanitize($this->get_date(''), SimplePie::CONSTRUCT_TEXT);
21 } elseif (($date = $this->get_date('U')) !== null && $date !== false) {
22 return strftime($date_format, $date);
/dokuwiki/inc/
H A Dchangelog.php23 * @deprecated 2023-09-25
37 * @param int $date Timestamp of the change
44 * - ExternalEdit - mark as an external edit.
50 * @deprecated 2021-11-28
53 $date, argument
61 // no more used in DokuWiki core, but left for third-party plugins
73 if (!$date) $date = time(); //use current time if none supplied
75 $user = ($flagExternalEdit) ? '' : $INPUT->server->str('REMOTE_USER');
80 $logEntry = $pageFile->changelog->addLogEntry([
81 'date' => $date,
[all …]
/dokuwiki/vendor/openpsa/universalfeedcreator/lib/Creator/
H A DOPMLCreator.php18 $this->encoding = "utf-8";
24 $feed = "<?xml version=\"1.0\" encoding=\"".$this->encoding."\"?>\n";
25 $feed .= $this->_createGeneratorComment();
26 $feed .= $this->_createStylesheetReferences();
27 …d=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n";
29 $feed .= " <title>".htmlspecialchars($this->title)."</title>\n";
30 if ($this->pubDate != "") {
31 $date = new FeedDate($this->pubDate);
32 $feed .= " <dateCreated>".$date->rfc822()."</dateCreated>\n";
34 if ($this->lastBuildDate != "") {
[all …]
/dokuwiki/inc/Ui/
H A DPageDiff.php42 $this->preference['showIntro'] = true;
43 $this->preference['difftype'] = 'sidebyside'; // diff view type: inline or sidebyside
51 $this->changelog = new PageChangeLog($this->id);
65 $this->text = $text;
66 $changelog =& $this->changelog;
69 $info = $changelog->getCurrentRevisionInfo();
70 $this->RevInfo1 = new RevisionInfo($info);
71 $this->RevInfo1->append([
73 'text' => rawWiki($this->id),
77 $this->RevInfo2 = new RevisionInfo();
[all …]
/dokuwiki/inc/lang/pt/
H A Dsubscr_single.txt6 --------------------------------------------------------
8 --------------------------------------------------------
10 Data : @DATE@
15 Data da Revisão: @DATE@
17 Para cancelar as notificações de página, logue-se no wiki em
20 e des-subscreva às alterações de página e/ou namespace.

12345678910>>...25