omnata-plugin-runtime 0.10.0a224__tar.gz → 0.10.0a225__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.10.0a224
3
+ Version: 0.10.0a225
4
4
  Summary: Classes and common runtime components for building and running Omnata Plugins
5
5
  Author: James Weakley
6
6
  Author-email: james.weakley@omnata.com
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "omnata-plugin-runtime"
3
- version = "0.10.0-a224"
3
+ version = "0.10.0-a225"
4
4
  description = "Classes and common runtime components for building and running Omnata Plugins"
5
5
  authors = ["James Weakley <james.weakley@omnata.com>"]
6
6
  readme = "README.md"
@@ -1315,9 +1315,10 @@ class InboundSyncRequest(SyncRequest):
1315
1315
  for datetime_property in datetime_properties:
1316
1316
  try:
1317
1317
  if datetime_property in data and data[datetime_property] is not None:
1318
+ contains_forward_slash = "/" in data[datetime_property]
1318
1319
  data[datetime_property] = parse(
1319
1320
  data[datetime_property],
1320
- dayfirst=True # no self respecting API should be using US date formats
1321
+ dayfirst=contains_forward_slash # no self respecting API should be using US date formats
1321
1322
  ).isoformat()
1322
1323
  except Exception as exception2:
1323
1324
  logger.debug(