merge
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user