Home
last modified time | relevance | path

Searched +full:- +full:- +full:date (Results 1 – 25 of 609) 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/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/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/inc/File/
H A DPageFile.php32 $this->id = $id;
33 $this->changelog = new PageChangeLog($this->id);
39 return $this->id;
45 return wikiFN($this->id, $rev);
49 * Get raw WikiText of the page, considering change type at revision date
58 $revInfo = $rev ? $this->changelog->getRevisionInfo($rev) : false;
61 : io_readWikiPage($this->getPath($rev), $this->id, $rev); // retrieve from attic
63 return io_readWikiPage($this->getPath(), $this->id, '');
94 if (isset($this->data)) return;
96 $pagefile = $this->getPath();
[all …]
/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/inc/
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/lib/plugins/styling/_test/
H A Dgeneral.test.php15 $this->assertFileExists($file);
19 $this->assertArrayHasKey('base', $info);
20 $this->assertArrayHasKey('author', $info);
21 $this->assertArrayHasKey('email', $info);
22 $this->assertArrayHasKey('date', $info);
23 $this->assertArrayHasKey('name', $info);
24 $this->assertArrayHasKey('desc', $info);
25 $this->assertArrayHasKey('url', $info);
27 $this->assertEquals('styling', $info['base']);
28 $this->assertMatchesRegularExpression('/^https?:\/\//', $info['url']);
[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/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 …]
H A DLogger.php35 $this->facility = $facility;
40 if (in_array($facility, $dontlog)) $this->isLogging = false;
68 return self::getInstance(self::LOG_ERROR)->log(
87 return self::getInstance(self::LOG_DEBUG)->log(
106 return self::getInstance(self::LOG_DEPRECATED)->log(
127 if (!$this->isLogging) return false;
131 'facility' => $this->facility,
138 'logfile' => $this->getLogfile($datetime),
143 if ($event->advise_before()) {
144 $data['loglines'] = $this->formatLogLines($data);
[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 …]
H A DMediaDiff.php41 $this->preference['fromAjax'] = false; // see dokuwiki\Ajax::callMediadiff()
42 $this->preference['showIntro'] = false;
43 $this->preference['difftype'] = 'both'; // diff view type: both, opacity or portions
51 $this->changelog = new MediaChangeLog($this->id);
67 if ($INPUT->has('difftype')) {
68 $this->preference['difftype'] = $INPUT->str('difftype');
77 $changelog =& $this->changelog;
83 $changelogRev1 = $changelog->getRevisionInfo($this->rev1);
84 $changelogRev2 = $changelog->getRevisionInfo($this->rev2);
86 $this->RevInfo1 = new RevisionInfo($changelogRev1);
[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.
/dokuwiki/inc/lang/es/
H A Dsubscr_single.txt6 --------------------------------------------------------
8 --------------------------------------------------------
10 Fecha : @DATE@
19 y date de baja en la página y/o cambios en el espacio de nombre.
/dokuwiki/vendor/simplepie/simplepie/src/Parse/
H A DDate.php6 * A PHP-Based RSS and Atom Feed Framework.
9 * Copyright (c) 2004-2022, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors
37 * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue
42 * @license http://www.opensource.org/licenses/bsd-license.php BSD License
48 * Date Parser
53 class Date class
61 public $date; variable in SimplePie\\Parse\\Date
360 'ACT' => -18000,
366 'AKDT' => -28800,
367 'AKST' => -32400,
[all …]
/dokuwiki/inc/lang/id/
H A Dregistermail.txt5 E-mail : @NEWEMAIL@
7 Date : @DATE@
9 IP-Address : @IPADDRESS@
/dokuwiki/inc/ChangeLog/
H A DRevisionInfo.php9 * - Ui\Recent
10 * - Ui\PageRevisions
11 * - Ui\MediaRevisions
12 * - Ui\PageDiff
13 * - Ui\MediaDiff
27 * - date: unix timestamp
28 * - ip: IPv4 or IPv6 address
29 * - type: change type (log line type)
30 * - id: page id
31 * - user: user name
[all …]

12345678910>>...25