Home Private Messages Search
CPG Dragonfly™ CMS
Toggle Content
 
Forums ⇒ Support ⇒ Explain Please ⇒ At which version was L10NTime class added?


At which version was L10NTime class added?
Ask questions and read explanations on how to use things/settings or why "X" is on page "Y."
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Explain Please

View previous topic :: View next topic  
Author Message
Kendle
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Dec 16, 2004
Posts: 566

PostPosted: Wed Jun 04, 2008 1:34 pm
Post subject: At which version was L10NTime class added?

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)
Back to top
View user's profile Visit poster's website
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8837
Location: Netizen
PostPosted: Wed Jun 04, 2008 10:51 pm
Post subject: Re: At which version was L10NTime class added?

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)
Back to top
View user's profile Visit poster's website Photo Gallery
Kendle
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Dec 16, 2004
Posts: 566

PostPosted: Thu Jun 05, 2008 7:20 am
Post subject: Re: At which version was L10NTime class added?

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)
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ⇒  Explain Please
Page 1 of 1
All times are GMT



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


 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Mercurial Commits
· Added: Security sessions management Bugfix: infinite loop in $leochanged check
· Bugfix: Poodle\Mail\SMTP failed sending Bugfix: Security system undefined data B
· Added: Poodle\HTTP\URLInfo Bugfix: Poodle\HTTP\Request headers parsing and body
· Bugfix: \Poodle::getKernel()->IDENTITY can be undefined in debugger Change: spli
· Changed another L10N->get() to L10N->dbget() for CFG->global->slogan and CFG->gl
· Changed L10N->get() to L10N->dbget() for CFG->global->slogan and CFG->global->si
· Improved L10N admin
· Update version due to L10N changes
· Bugfix: L10N date parsing Added: L10N dbget() check v9 constants
· Merge

read more...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy