[pmwiki-users] Insert current (stable) date

Jim Syler calion at mac.com
Wed Feb 14 20:02:25 CST 2018


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 <5ko at 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 at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users




More information about the pmwiki-users mailing list