This commit is contained in:
Denis Fomin
2011-11-02 21:54:10 +03:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
[info]
name: Set Location
short_name: set_location
version: 0.5
version: 0.6
description: Set information about the current geographical or physical location.
To be able to specify a location on the built-in card, you must install python-osmgpsmap > 0.5
authors: Denis Fomin <fominde@gmail.com>

View File

@@ -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]