Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
public_projects
ketos
Commits
2943bb9a
Commit
2943bb9a
authored
2 years ago
by
Oliver Kirsebom
Browse files
Options
Download
Email Patches
Plain Diff
improved datetime parsing robustness for miliscond
parent
4bd6ec37
1 merge request
!261
Some minor improvements and changes
Pipeline
#5681
passed with stage
in 3 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ketos/data_handling/data_handling.py
+2
-1
ketos/data_handling/data_handling.py
with
2 additions
and
1 deletion
+2
-1
ketos/data_handling/data_handling.py
View file @
2943bb9a
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help