dately 2.1.1__tar.gz → 2.1.2__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.
Files changed (26) hide show
  1. {dately-2.1.1 → dately-2.1.2}/PKG-INFO +1 -1
  2. {dately-2.1.1 → dately-2.1.2}/dately/timezone.py +3 -3
  3. {dately-2.1.1 → dately-2.1.2}/dately.egg-info/PKG-INFO +1 -1
  4. {dately-2.1.1 → dately-2.1.2}/setup.py +1 -1
  5. {dately-2.1.1 → dately-2.1.2}/README.md +0 -0
  6. {dately-2.1.1 → dately-2.1.2}/dately/__init__.py +0 -0
  7. {dately-2.1.1 → dately-2.1.2}/dately/core.py +0 -0
  8. {dately-2.1.1 → dately-2.1.2}/dately/mold/__init__.py +0 -0
  9. {dately-2.1.1 → dately-2.1.2}/dately/mold/pyd/Compiled.cp38-win_amd64.pyd +0 -0
  10. {dately-2.1.1 → dately-2.1.2}/dately/mold/pyd/__init__.py +0 -0
  11. {dately-2.1.1 → dately-2.1.2}/dately/mold/pyd/cdatetime/UniversalDateFormatter.cp38-win_amd64.pyd +0 -0
  12. {dately-2.1.1 → dately-2.1.2}/dately/mold/pyd/cdatetime/__init__.py +0 -0
  13. {dately-2.1.1 → dately-2.1.2}/dately/mold/pyd/cdatetime/iso8601T.cp38-win_amd64.pyd +0 -0
  14. {dately-2.1.1 → dately-2.1.2}/dately/mold/pyd/cdatetime/iso8601Z.cp38-win_amd64.pyd +0 -0
  15. {dately-2.1.1 → dately-2.1.2}/dately/mold/pyd/cdatetime/whichformat.cp38-win_amd64.pyd +0 -0
  16. {dately-2.1.1 → dately-2.1.2}/dately/mold/pyd/clean_str.cp38-win_amd64.pyd +0 -0
  17. {dately-2.1.1 → dately-2.1.2}/dately/mold/pyd/time_zones.cp38-win_amd64.pyd +0 -0
  18. {dately-2.1.1 → dately-2.1.2}/dately/mskutils.py +0 -0
  19. {dately-2.1.1 → dately-2.1.2}/dately/sysutils.py +0 -0
  20. {dately-2.1.1 → dately-2.1.2}/dately/timeutils.py +0 -0
  21. {dately-2.1.1 → dately-2.1.2}/dately/utils.py +0 -0
  22. {dately-2.1.1 → dately-2.1.2}/dately.egg-info/SOURCES.txt +0 -0
  23. {dately-2.1.1 → dately-2.1.2}/dately.egg-info/dependency_links.txt +0 -0
  24. {dately-2.1.1 → dately-2.1.2}/dately.egg-info/requires.txt +0 -0
  25. {dately-2.1.1 → dately-2.1.2}/dately.egg-info/top_level.txt +0 -0
  26. {dately-2.1.1 → dately-2.1.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dately
3
- Version: 2.1.1
3
+ Version: 2.1.2
4
4
  Summary: A library for manipulating datetime strings.
5
5
  Home-page: https://github.com/cedricmoorejr/dately
6
6
  Author: Cedric Moore Jr.
@@ -611,7 +611,8 @@ class ZoneInfoManager:
611
611
 
612
612
  result = self.__Request.make_request(params)
613
613
  if 'response' in result:
614
- return result['response']
614
+ data = result['response']
615
+ return [zone for zone in data['zones'] if zone['zoneName'] in [from_zone, to_zone]]
615
616
  else:
616
617
  return result
617
618
 
@@ -638,8 +639,7 @@ class ZoneInfoManager:
638
639
  self.__Request.update_base_url(original_url)
639
640
 
640
641
  if 'response' in result:
641
- data = result['response']
642
- return [zone for zone in data['zones'] if zone['zoneName'] in [from_zone, to_zone]]
642
+ return result['response']["datetime"]
643
643
  else:
644
644
  return result
645
645
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dately
3
- Version: 2.1.1
3
+ Version: 2.1.2
4
4
  Summary: A library for manipulating datetime strings.
5
5
  Home-page: https://github.com/cedricmoorejr/dately
6
6
  Author: Cedric Moore Jr.
@@ -8,7 +8,7 @@ if sys.platform != 'win32':
8
8
 
9
9
  setup(
10
10
  name="dately",
11
- version="2.1.1",
11
+ version="2.1.2",
12
12
  author="Cedric Moore Jr.",
13
13
  author_email="cedric@doydl.tech",
14
14
  description="A library for manipulating datetime strings.",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes