We forcefully moved to the new server and upgraded to Dragonfly CMS v10.
Please keep in mind we are working hard to get everything up and running, so please be patient.
Read/reply for issues in this forum topic /

Best regards, DJ Maze

Support ⇒ Explain Please ⇒ At which version was L10NTime class added? ⇒ Community Forums ⇒ CPG Dragonfly™ CMS

At which version was L10NTime class added? Reply to topic

Author Message
Kendle
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Dec 16, 2004
Posts: 569
Post
Could someone tell me when the L10NTime class was added to DF, i.e. what version number?

I want to use the L10NTime functions in my modules (all of them, not just the commercial ones), but if they were introduced recently I might need to do some version checking to make sure the user's version of DF is compatible.

_________________
Gaming League / Cup - www.leaguecms.co.uk :: Other DragonFly modules - www.cmsdreams.co.uk

Kendle's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
View user's profile Visit poster's website
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8840
Location: Netizen
Post
The L10NTime class has been there since at least 9.0.6.1.

dragonflycms.org/cvs/h...s/time.php


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
View user's profile Photo Gallery
Kendle
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Dec 16, 2004
Posts: 569
Post
Great, thanks Smile

It's a damn useful bit of code to be honest. I was looking at writing something similar, realised it was going to be a pig with so many different timezones and DST adjustments to make, and then noticed you'd already done all the hard work!

Might be an idea at some point to update the dev resources, there's so much good stuff in DF but you wouldn't know it's there unless you go trawling through code looking for it.

_________________
Gaming League / Cup - www.leaguecms.co.uk :: Other DragonFly modules - www.cmsdreams.co.uk

Kendle's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
View user's profile Visit poster's website
Display posts from previous:
All times are UTC
Post new topic Reply to topic Forum IndexExplain Please
Page 1 of 1



Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


User Info

Welcome Anonymous



(Register)
Community

Support for DragonflyCMS in a other languages:

Deutsch
Español