Run some automatic tests with GitHub Actions (#68)
This commit is contained in:
@@ -2,7 +2,7 @@ def format_timestamp(
|
||||
seconds: float,
|
||||
always_include_hours: bool = False,
|
||||
decimal_marker: str = ".",
|
||||
):
|
||||
) -> str:
|
||||
assert seconds >= 0, "non-negative timestamp expected"
|
||||
milliseconds = round(seconds * 1000.0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user