mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
fix problem with iso format dates
This commit is contained in:
parent
93a28bbaba
commit
7fbf25840f
@ -316,7 +316,7 @@ class IntegrationPluginBase(MixinBase, plugin.InvenTreePlugin):
|
||||
if not name:
|
||||
name = self.commit.get('date')
|
||||
else:
|
||||
name = datetime.fromisoformat(name)
|
||||
name = datetime.fromisoformat(str(name))
|
||||
if not name:
|
||||
name = _('No date found')
|
||||
return name
|
||||
|
Loading…
Reference in New Issue
Block a user