merge
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
[info]
|
[info]
|
||||||
name: Set Location
|
name: Set Location
|
||||||
short_name: set_location
|
short_name: set_location
|
||||||
version: 0.5
|
version: 0.6
|
||||||
description: Set information about the current geographical or physical location.
|
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
|
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>
|
authors: Denis Fomin <fominde@gmail.com>
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ class SetLocationPlugin(GajimPlugin):
|
|||||||
self._data = {}
|
self._data = {}
|
||||||
timestamp = time.time()
|
timestamp = time.time()
|
||||||
timestamp = datetime.utcfromtimestamp(timestamp)
|
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
|
self._data['timestamp'] = timestamp
|
||||||
for name in self.config_default_values:
|
for name in self.config_default_values:
|
||||||
self._data[name] = self.config[name]
|
self._data[name] = self.config[name]
|
||||||
|
|||||||
Reference in New Issue
Block a user