[pmwiki-users] dates in URL

John Rankin john.rankin at affinity.co.nz
Mon May 22 16:59:28 CDT 2006


On Tuesday, 23 May 2006 1:37 AM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>On Mon, May 22, 2006 at 10:16:08AM +1200, John Rankin wrote:
>> On Saturday, 20 May 2006 6:45 AM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>> >I seem to recall that Wikilog searches for strings of the
>> >form yyyy-mm-dd, and switches them to the "long format", even
>> >if the date appears in brackets or a link.  So, that seems a
>> >likely culprit.
>> 
>> There ought to be a way to support dates in urls and translated
>> long dates, but I haven't found it yet.
>
>Is it sufficient to move the conversion to occur after the links
>section?  I.e., change 'inline' to '>links' in the relevant
>Markup() call?
>
>Pm
>
>
>From memory, it wasn't quite that simple because of the 
markup extensions, which "smarten" certain hyphens.  And one
also wants to turn links like this [[ReleaseLog/20060411]] 
into long dates.

But this problem has come up often enough that I can see I 
need to fix it properly.

Thanks
-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list