Menu

#46 Error in Locale formatting

v1.0_(example)
open
nobody
None
5
2015-02-23
2006-01-27
Anonymous
No

In the Simple Timesheet, the date is not formatted
according to the given locale.
This can be corrected to edit simple.php on line 483 :

                        Week Start: <? echo date('D F j,

Y',mktime(0,0,0,$startMonth, $startDay, $startYear)); ?>

becomes

Week Start: <? echo strftime('%a %d %B
%Y',mktime(0,0,0,$startMonth, $startDay, $startYear)); ?>

The above formatting applies for the dutch locale,
adapt to your locale if necessary.

Discussion


Log in to post a comment.