Avatar for the sdispater user
sdispater
pendulum
BlogDocsChangelog

Replace hardcoded time units with named constants

#861
Comparing
Minku-Koo:devkoo
(
eee1ebc
) with
master
(
a21fc8d
)
CodSpeed Performance Gauge
-1%
Improvements
0
Regressions
0
Untouched
1
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_parse_iso8601
tests/benchmarks/test_parse_8601.py::test_parse_iso8601
CodSpeed Performance Gauge
-1%
1.2 ms
1.2 ms

Commits

Click on a commit to change the comparison range
Base
master
a21fc8d
-1%
Refactor: Replace hardcoded time units with named constants - Replaced hardcoded time-related values with named constants. - Facilitates easier adjustments of these values and reduces potential for errors.|
32ce6fa
1 month ago
by Minku-Koo
0%
Refactor: Use direct reference to constants instead of `self` - Constants declared outside the class should be directly accessed without using `self`.
eee1ebc
27 days ago
by Minku-Koo
Home Terms PrivacyDocs