It would be nice to have in, but I don't think it's something that  
people are crying out for - judging by the fact this issue has only  
been raised previously by one person (myself).

I'd be more interested to find a framework agnostic library to deal  
with advanced time and date issues - something like the JodaTime lib  
for Java. In a previous life I was quite happy using JodaTime with  
WebWork - it was never perceived to be a deficiency of the framework  
that it didn't have this functionality built-in, and I think the same  
would be true for Symfony.

I've also just found the PEAR Date module 
(http://pear.php.net/manual/en/package.datetime.date.examples.php 
) which has a handy convertTZ function :)


On 4 Mar 2009, at 19:22, heathd wrote:

>
> Hi Lee,
>
>> There's actually built in PHP functionality for this 
>> :http://uk2.php.net/manual/en/class.datetimezone.php
>
> thanks for the link.
>
> The question for me is not so much how to actually perform the
> timezone transformations, but rather how to tie in with the existing
> symfony framework. For example the sfDateFormat class provides locale-
> aware formatting of dates and times, but does not support timezones.
> In my opinion this is a major deficiency in this class, and I'm
> surprised that not more people have encountered this problem. The
> alternative to fixing sfDateFormat and the DateHelper.php functions
> would be just to abandon them entirely and use something else for
> formatting dates in a locale-sensitive way .. but that seems to defeat
> the point of using a framework.
>
> What do you think?
>
> David
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to