mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 01:19:26 +01:00
Misc: Adapt GitHub's version format to the new one (introduced in 0fb2ee1bf7
).
This commit is contained in:
parent
0fb2ee1bf7
commit
dfafee3ff2
@ -310,7 +310,7 @@ class Misc(callbacks.Plugin):
|
|||||||
.decode('utf8'))
|
.decode('utf8'))
|
||||||
version = data['commit']['committer']['date']
|
version = data['commit']['committer']['date']
|
||||||
# Strip the last 'Z':
|
# Strip the last 'Z':
|
||||||
version = ''.join(version.rsplit('Z', 1))
|
version = ''.join(version.rsplit('Z', 1)).replace(':', '-')
|
||||||
versions[branch] = version
|
versions[branch] = version
|
||||||
newest = _('The newest versions available online are %s.') % \
|
newest = _('The newest versions available online are %s.') % \
|
||||||
', '.join([_('%s (in %s)') % (y,x)
|
', '.join([_('%s (in %s)') % (y,x)
|
||||||
|
Loading…
Reference in New Issue
Block a user