[dev] [commits] Horde branch master updated. d167603a54c0ea35188b1ebe6e183931c533f18f

Duck duck at obala.net
Wed Jul 22 17:03:13 UTC 2009


>> Quoting Duck <duck at obala.net>:
>>
>> It will be nice to take care of "twentyFour" pref for the default  
>> date format.
>>
>
>Not sure what your saying/asking here? Also, please include some  
>context when replying to git push messages, as it's not immediatley  
>evident what change you are referring to.

it was about Horde_Date_Utils::relativeDateTime(). The default for the user 
specified date format should use the twentyFour pref like Agora and other apis:

sample code from agora: 

strftime($GLOBALS['prefs']->getValue('date_format'), $timestamp)
            . ' '
            . (date($GLOBALS['prefs']->getValue('twentyFour') ? 'G:i' : 
'g:ia', $timestamp));

Duck


More information about the dev mailing list