I would guess your server time and your local time are off by 1 hour 1 minute, then. You have a few choices I can see: 1. hardcode a timezone into the wiki 2. accept local user time for whatever user/device - I think this would require javascript on the client and catching hiddenvariables or some such. Slightly tricker.
#1 might look something like date_default_timezone_set('Mars/Phobos'); # or whereever - might also change any logs in system, change CurrentTime if you like $ROSPatterns['/(?<!~)~~~~~(?!~)/'] = strftime($TimeFmt, $Now); On Wed, Feb 14, 2018 at 9:02 PM, Jim Syler <cal...@mac.com> wrote: > Thanks! But the time that inserts is one hour and one minute ahead of my > local time. How do I fix that? > >> On Feb 14, 2018, at 5:51 PM, Petko Yotov <5...@5ko.fr> wrote: >> >> Yes, you can enable ~~~~~ (5 tildes) to become the timestamp without the >> author name, add this in config.php: >> >> $ROSPatterns['/(?<!~)~~~~~(?!~)/'] = &$CurrentTime; >> >> BTW this markup is used in the default installation of MediaWiki (Wikipedia). >> >> Petko >> >> On 15/02/2018 00:29, Jim Syler wrote: >>> Is there a way to insert the current date and/or time into a wiki >>> page, and have it not change? The same way that ~~~~ inserts the date >>> in a Talk page? >> >> _______________________________________________ >> pmwiki-users mailing list >> pmwiki-users@pmichaud.com >> http://www.pmichaud.com/mailman/listinfo/pmwiki-users > > > _______________________________________________ > pmwiki-users mailing list > pmwiki-users@pmichaud.com > http://www.pmichaud.com/mailman/listinfo/pmwiki-users _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users