Changeset 83359 in vbox for trunk/src/VBox/ValidationKit/testmanager/core/base.py
- Timestamp:
- Mar 21, 2020 1:02:44 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/core/base.py
r82968 r83359 616 616 sError = 'Invalid timezone offset.'; 617 617 elif len(sValue) == len('2012-10-08 01:54:06.00'): 618 oRes = re.match(r'(\d{4})-([01]\d)-([0123])\d ([012]\d):[0-5]\d:([0-6]\d).\d{2}', sValue); 618 oRes = re.match(r'(\d{4})-([01]\d)-([0123])\d[ Tt]([012]\d):[0-5]\d:([0-6]\d).\d{2}', sValue); 619 elif len(sValue) == len('2012-10-08 01:54:06.00Z'): 620 oRes = re.match(r'(\d{4})-([01]\d)-([0123])\d[ Tt]([012]\d):[0-5]\d:([0-6]\d).\d{2}[Zz]', sValue); 619 621 elif len(sValue) == len('9999-12-31 23:59:59.999999'): 620 oRes = re.match(r'(\d{4})-([01]\d)-([0123])\d ([012]\d):[0-5]\d:([0-6]\d).\d{6}', sValue); 622 oRes = re.match(r'(\d{4})-([01]\d)-([0123])\d[ Tt]([012]\d):[0-5]\d:([0-6]\d).\d{6}', sValue); 623 elif len(sValue) == len('9999-12-31 23:59:59.999999Z'): 624 oRes = re.match(r'(\d{4})-([01]\d)-([0123])\d[ Tt]([012]\d):[0-5]\d:([0-6]\d).\d{6}[Zz]', sValue); 621 625 elif len(sValue) == len('999999-12-31 00:00:00.00'): 622 oRes = re.match(r'(\d{6})-([01]\d)-([0123])\d 626 oRes = re.match(r'(\d{6})-([01]\d)-([0123])\d[ Tt]([012]\d):[0-5]\d:([0-6]\d).\d{2}', sValue); 623 627 elif len(sValue) == len('9999-12-31T23:59:59.999999Z'): 624 628 oRes = re.match(r'(\d{4})-([01]\d)-([0123])\d[Tt]([012]\d):[0-5]\d:([0-6]\d).\d{6}[Zz]', sValue);
Note:
See TracChangeset
for help on using the changeset viewer.