Follow-up Comment #6, task #2614 (project savane):
I reworked your work so utils_format_date() and format_date() are aliases
(with arguments in this different order though, the order the new
utils_format_date() is better than the one of format_date() but I dont have
time to update all format_date() calls) and it is compatible with previous
calls.
Here's the list of available styles
case 'short':
{
# To be used in tables, nowhere else
return strftime('%x, %R', $timestamp);
}
case 'minimal':
{
# To be used where place is really lacking, like in feature boxes.
# (Nowhere else, it is too uninformative)
return strftime('%x', $timestamp);
}
default:
{
# Used by default
return strftime('%a %x '._("at").' %R', $timestamp);
}
_______________________________________________________
Reply to this item at:
<http://gna.org/task/?func=detailitem&item_id=2614>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Savane-dev mailing list
[email protected]
https://mail.gna.org/listinfo/savane-dev