Timeline Date format
Timeline Date format
Where would I need to go to change the format of the date in the timeline event viewer? Is there and option setting or would I have to change it in the php code?
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
If you mean the date/time along the bottom of the chart then you will have to edit zm_html_view_timeline.php. Go to about line 562 and look for lines. These give you the various formats used. Go to http://uk.php.net/manual/en/function.date.php for details on the date function.
For the format in the event mouseover annotation go to line 751 or so. That uses strftime which you can also find on php.net.
Code: Select all
$title =
For the format in the event mouseover annotation go to line 751 or so. That uses strftime which you can also find on php.net.
Phil
Thanks
Thanks,
I only needed to change the mouse over since it is displayed in the digit yy/mm/dd vs. the date format at the bottom in the xxx-xxx DD MMM YYYY format. It was confusing to us Americans who use the abbreviated format like mm/dd/yy.
Can this be keyed to an option in future releases? Perhaps the ability to set the date formats for the entire system in one place in the options screens.
Skydiver
I only needed to change the mouse over since it is displayed in the digit yy/mm/dd vs. the date format at the bottom in the xxx-xxx DD MMM YYYY format. It was confusing to us Americans who use the abbreviated format like mm/dd/yy.
Can this be keyed to an option in future releases? Perhaps the ability to set the date formats for the entire system in one place in the options screens.
Skydiver
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: