Menu

#33 Clendar module does not honor site settings

open
nobody
Bug Fix (25)
5
2006-02-15
2006-02-15
Fritz
No

Problem: Changing date and time format site settings
has no effect on the calendar modules views,

Analysis: The formats are hard coded.

Solution: find instances of format_date in
calendarmodule/views and insert the system variables.
For example, in _view.tpl it becomes:

{$item-
>eventstart|format_date:$smarty.const.DISPLAY_DATETIME
_FORMAT} - {$item-
>eventend|format_date:$smarty.const.DISPLAY_TIME_FORMA
T}

Discussion


Log in to post a comment.