Skip to content
Snippets Groups Projects
Commit a9f32344 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix timetsamp in set_location plugin. Fixes #17

parent b55a982f
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ class SetLocationPlugin(GajimPlugin):
self._data = {}
timestamp = time.time()
timestamp = datetime.utcfromtimestamp(timestamp)
timestamp = timestamp.strftime('%Y-%m-%dT%H:%MZ')
timestamp = timestamp.strftime('%Y-%m-%dT%H:%M:%SZ')
self._data['timestamp'] = timestamp
for name in self.config_default_values:
self._data[name] = self.config[name]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment