Changeset 84603 in vbox for trunk/src/VBox/ValidationKit/testmanager
- Timestamp:
- May 29, 2020 9:05:10 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/core/base.py
r84599 r84603 1100 1100 1101 1101 @staticmethod 1102 def datetimeToJson(oDateTime , dOptions = None):1102 def datetimeToJson(oDateTime): 1103 1103 """ Converts a datetime instance to a JSON string. """ 1104 1104 return '"%s"' % (oDateTime,); … … 1115 1115 return ModelDataBase.listToJson(oValue, dOptions); 1116 1116 if isinstance(oValue, datetime.datetime): 1117 return ModelDataBase.datetimeToJson(oValue , dOptions)1117 return ModelDataBase.datetimeToJson(oValue) 1118 1118 return json.dumps(oValue); 1119 1119
Note:
See TracChangeset
for help on using the changeset viewer.