Fix itl time formatter for milliseconds
Changes
- New datetime formatter for absolute time (don't trim millisecondes with zeros):
- '2032-01-01T00:00:01 MAJIS OBS_START DISK_SCAN (PRIME=TRUE)',
- '2032-01-01T00:00:02 MAJIS OBS_END DISK_SCAN',
+ '2032-01-01T00:00:01.000 MAJIS OBS_START DISK_SCAN (PRIME=TRUE)',
+ '2032-01-01T00:00:02.000 MAJIS OBS_END DISK_SCAN',
- New datetime formatter for relative time (don't trim millisecondes with zeros):
- EVENT_NAME (COUNT = 1) 00:00:00 MAJIS OBS_START DISK_SCAN (PRIME=TRUE)
- EVENT_NAME (COUNT = 1) 00:00:01 MAJIS OBS_END DISK_SCAN
+ EVENT_NAME (COUNT = 1) 00:00:00.000 MAJIS OBS_START DISK_SCAN (PRIME=TRUE)
+ EVENT_NAME (COUNT = 1) 00:00:01.000 MAJIS OBS_END DISK_SCAN
- New datetime formatter for csv export (don't trim millisecondes with zeros):
- 2032-01-01T00:00:01;2032-01-01T00:00:02;MAJIS;S007_01;DISK_SCAN_001;JUPITER;True
- 2032-01-01T00:00:02;2032-01-01T00:00:03;MAJIS;S007_01;DISK_SCAN_002;JUPITER;True
+ 2032-01-01T00:00:01.000;2032-01-01T00:00:02.000;MAJIS;S007_01;DISK_SCAN_001;JUPITER;True
+ 2032-01-01T00:00:02.000;2032-01-01T00:00:03.000;MAJIS;S007_01;DISK_SCAN_002;JUPITER;True
- Changed
csv
fields order:
-
OBS_NAME
(if present) -
OBS_START
andOBS_END
-
OBS_START_REL
andOBS_END_REL
only ifref
/--relative-to
is provided - Other
-
COMMENTS
(in double quotes)
- '#OBS_START,OBS_END,FOO,OBS_NAME,COMMENTS,BAR'
+ '#OBS_NAME,OBS_START,OBS_END,[OBS_START_REL,OBS_END_REL],FOO,BAR,COMMENTS'
- Escape comments value with explicit double quotes (for
csv
export):
- MULTI WORDS COMMENT with , and ; / MULTI LINES COMMENT
+ "MULTI WORDS COMMENT with , and ; / MULTI LINES COMMENT"
- Change
hatch
config for linter to require an explicit--fix
flag and display--diff
in CI.
Fix #1 (closed) and #3 (closed).
Edited by Benoît SEIGNOVERT