meeting plugin to record local timezone in minutes rather than UTC

Bug #942504 reported by Gustav H Meyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ibid
New
Wishlist
Unassigned

Bug Description

Time values in the meeting module are output as GMT/UTC time rather than local time. It would be nice if it would take the system local time or if there was an option to choose the timezone to use in the config.

Background: I modified my own meeting templates to record the date and time when taking minutes since I keep it running for a month at a time in one of our internal systems admin irc channels. This is very valuable for myself and other systems administration colleagues to use for keeping records of noteworthy events for purposes of monthly reporting while we can focus on getting the job done without having to worry about recording the date and time.

-- Diff changes ---
--- /usr/share/ibid/templates/meetings/minutes.txt.orig 2011-11-25 15:43:51.000000000 +0200
+++ /usr/share/ibid/templates/meetings/minutes.txt 2011-11-25 15:43:51.000000000 +0200
@@ -6,7 +6,7 @@
 =======

 {% for event in meeting.minutes -%}
-[{{ event.time.strftime('%H:%M:%S') }}] {{ event.type | upper }}
+[{{ event.time.strftime('%Y-%m-%d %H:%M:%S') }}] {{ event.type | upper }}
 {{- ': ' + event.subject if event.subject else '' }} ({{ event.nick }})
 {% endfor %}
 Present
@@ -23,7 +23,7 @@
 =======

 {% for event in meeting.log -%}
-[{{ event.time.strftime('%H:%M:%S') }}] {# Preserve the space after the timestamp #}
+[{{ event.time.strftime('%Y-%m-%d %H:%M:%S') }}] {# Preserve the space after the timestamp #}
 {%- if event.type == 'message' -%}
 <{{ event.nick }}> {{ event.message }}
 {%- elif event.type == 'action' -%}

Changed in ibid:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.