mapres 2.4.dev1__py3-none-any.whl → 2.4.dev2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mapres/maps/time.py +5 -1
- {mapres-2.4.dev1.dist-info → mapres-2.4.dev2.dist-info}/METADATA +1 -1
- {mapres-2.4.dev1.dist-info → mapres-2.4.dev2.dist-info}/RECORD +6 -6
- {mapres-2.4.dev1.dist-info → mapres-2.4.dev2.dist-info}/WHEEL +0 -0
- {mapres-2.4.dev1.dist-info → mapres-2.4.dev2.dist-info}/licenses/LICENSE +0 -0
- {mapres-2.4.dev1.dist-info → mapres-2.4.dev2.dist-info}/top_level.txt +0 -0
mapres/maps/time.py
CHANGED
|
@@ -6,7 +6,11 @@ from mapres.datamap import datamap, syntax
|
|
|
6
6
|
@datamap(syntax=syntax.percents, mode='dynamic')
|
|
7
7
|
class TimeMap:
|
|
8
8
|
# default timezone
|
|
9
|
-
|
|
9
|
+
try:
|
|
10
|
+
_default_tz = ZoneInfo("America/Chicago")
|
|
11
|
+
except Exception:
|
|
12
|
+
from datetime import timezone
|
|
13
|
+
_default_tz = timezone.utc
|
|
10
14
|
|
|
11
15
|
# dynamic fields
|
|
12
16
|
hh: str = None
|
|
@@ -6,9 +6,9 @@ mapres/layers.py,sha256=BPHbc8Bh4VxyphtP60acGoXDCYQcrW4bZRFsOk-5gug,1070
|
|
|
6
6
|
mapres/resolver.py,sha256=uXE1e4EjZclIzehAhwugwT2S8RmoxvKH4a5-zfelFIc,6021
|
|
7
7
|
mapres/maps/__init__.py,sha256=lIRRfem1Fw4iynuwUQ7BY5qrC4fbJKxqLivao2_Dtm4,239
|
|
8
8
|
mapres/maps/color.py,sha256=sHLHgVmO2BFmx1EK5E78-tMHvB8oxbjJplAaVb1JNFQ,1545
|
|
9
|
-
mapres/maps/time.py,sha256=
|
|
10
|
-
mapres-2.4.
|
|
11
|
-
mapres-2.4.
|
|
12
|
-
mapres-2.4.
|
|
13
|
-
mapres-2.4.
|
|
14
|
-
mapres-2.4.
|
|
9
|
+
mapres/maps/time.py,sha256=WTVGBehzuT3Jof1PVP0IK-TJRRjJB2UDYyeOe8fh1wg,1998
|
|
10
|
+
mapres-2.4.dev2.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
11
|
+
mapres-2.4.dev2.dist-info/METADATA,sha256=4a8_zVx5_INyIRhFaVgyggi1KducZKacrZBOvkfRJaU,1477
|
|
12
|
+
mapres-2.4.dev2.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
13
|
+
mapres-2.4.dev2.dist-info/top_level.txt,sha256=5LMVQqJdtyjxfzv7wJBOZ-360m0Yc79w_-Y7s3n6cTw,7
|
|
14
|
+
mapres-2.4.dev2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|