Commit 2943bb9a authored by Oliver Kirsebom's avatar Oliver Kirsebom
Browse files

improved datetime parsing robustness for miliscond

parent 4bd6ec37
1 merge request!261Some minor improvements and changes
Pipeline #5681 passed with stage
in 3 minutes and 26 seconds
Showing with 2 additions and 1 deletion
+2 -1
......@@ -91,7 +91,8 @@ def parse_datetime(to_parse, fmt=None, replace_spaces='0'):
See https://pypi.org/project/datetime-glob/ for a list of valid directives.
In addition to the directives allowed by the datetime-glob package, it is
also possible to specify %S.%ms for milliseconds. Note that the milliseconds
(%ms) must follow the seconds (%S) separated by a period (.).
(%ms) must follow the seconds (%S) separated by a period (.) and can only be
followed by an asterisk (*) or nothing.
replace_spaces: str
If string contains spaces, replaces them with this string
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment