Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 Yesterday 13:57:18

etc
Developer
Registered: 2010-11-11
Posts: 5,726
Website GitHub

Re: [solved] Date posted puzzlement

Another massive 4.9.2 rewrite, please test.

Offline

#17 Yesterday 17:31:19

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,612
Website GitHub

Re: [solved] Date posted puzzlement

Wow, that’s a huge alteration, but fabulous it’s now compartmentalised. Should.make it far easier to make changes if there’s any tweaks needed. Nice work.

Is there any mileage in making our own DateTime (for example) class that encapsulates the new functions and safe_strftime(), etc? Or is it better to keep it as a function for speed?


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB