mapres 2.4.dev1__tar.gz → 2.4.dev2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapres
3
- Version: 2.4.dev1
3
+ Version: 2.4.dev2
4
4
  Summary: A powerfull mapping utility
5
5
  Author: iFamished
6
6
  License: MIT
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "mapres"
10
- version = "2.4-dev.1"
10
+ version = "2.4-dev.2"
11
11
  description = "A powerfull mapping utility"
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.9"
@@ -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
- _default_tz = ZoneInfo('America/Chicago')
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mapres
3
- Version: 2.4.dev1
3
+ Version: 2.4.dev2
4
4
  Summary: A powerfull mapping utility
5
5
  Author: iFamished
6
6
  License: MIT
File without changes
File without changes
File without changes
File without changes