hdx-python-utilities 4.2.7__py3-none-any.whl → 4.2.8__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.
hdx/utilities/_version.py CHANGED
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '4.2.7'
22
- __version_tuple__ = version_tuple = (4, 2, 7)
21
+ __version__ = version = '4.2.8'
22
+ __version_tuple__ = version_tuple = (4, 2, 8)
23
23
 
24
24
  __commit_id__ = commit_id = None
@@ -961,6 +961,9 @@ def parse_date_range(
961
961
  if timezone_handling == 0:
962
962
  startdate = startdate.replace(tzinfo=UTC)
963
963
  enddate = enddate.replace(tzinfo=UTC)
964
+ elif timezone_handling == 1:
965
+ startdate = startdate.replace(tzinfo=None)
966
+ enddate = enddate.replace(tzinfo=None)
964
967
  elif timezone_handling == 3:
965
968
  if startdate.tzinfo is None:
966
969
  startdate = startdate.replace(tzinfo=UTC)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: hdx-python-utilities
3
- Version: 4.2.7
3
+ Version: 4.2.8
4
4
  Summary: HDX Python Utilities for streaming tabular data, date and time handling and other helpful functions
5
5
  Project-URL: Homepage, https://github.com/OCHA-DAP/hdx-python-utilities
6
6
  Author-email: Michael Rans <rans@email.com>
@@ -1,8 +1,8 @@
1
1
  hdx/utilities/__init__.py,sha256=DQztoBWScN4UoX3pTjA6JN_CHX-Lls3duu41YLJtdcM,72
2
- hdx/utilities/_version.py,sha256=h4Ocm059KhrmW9LjVPUzFYdcMdF2OXrkmAKxCgyYAy4,520
2
+ hdx/utilities/_version.py,sha256=dIqiPFf5sjQptrtE6mmBZByxvs78UyzgeIlCKT-WQ1U,520
3
3
  hdx/utilities/base_downloader.py,sha256=FuE3CyGVOaKJaJm4bRDMstwiR65HB5JNiceDYUQBrk0,3599
4
4
  hdx/utilities/compare.py,sha256=WOFH4Ic2ljMb2BF-UseGZAogeSC8pitRbyfo6HRt56s,1151
5
- hdx/utilities/dateparse.py,sha256=RGFBuOHE2pflqAY824XLfrBUt1tyY_ieG5yJtlqZOEY,42006
5
+ hdx/utilities/dateparse.py,sha256=EcZzU-z3_IqqjqhqZy7eqD81UFdbLd_uoiA86T5KmbE,42137
6
6
  hdx/utilities/dictandlist.py,sha256=GCpws3WzVtJg8zxQJxlZXqOeOxNMk3Dn74oq-jxDQ-g,15590
7
7
  hdx/utilities/downloader.py,sha256=q3-ZLciQ-_L-k58GnFJm4UHQovTn2kTdAJ0N4SyWVh0,61280
8
8
  hdx/utilities/easy_logging.py,sha256=UizwMsYpFcKmY3x7qVPxi4cIpEyqpKQaKhby_kuFH4A,2129
@@ -25,7 +25,7 @@ hdx/utilities/url.py,sha256=iN4tqU7sbpXc3EXMNaQfoot8Wm98AvDKN_oKS2heuAE,4312
25
25
  hdx/utilities/useragent.py,sha256=u1nwquIei93lLMAGqHrLs0w99qIIM1A2yUY7AOMSFy4,6862
26
26
  hdx/utilities/uuid.py,sha256=ysPLCRnwkDYA-ifL-pYJzBigh-jm8_zjqVjcwYSZzno,573
27
27
  hdx/utilities/zip_crc.py,sha256=qs-81dd1oX6uIfwH7DUoZaS7OngHwOb7lnogBVmtBl8,4275
28
- hdx_python_utilities-4.2.7.dist-info/METADATA,sha256=FGk-B4TJ74RvmvZKtF3ILnrfas2-K5FAUvrrwxEfImI,5409
29
- hdx_python_utilities-4.2.7.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
30
- hdx_python_utilities-4.2.7.dist-info/licenses/LICENSE,sha256=wc-4GpMn-ODs-U_bTe1YCiPVgvcjzrpYOx2wPuyAeII,1079
31
- hdx_python_utilities-4.2.7.dist-info/RECORD,,
28
+ hdx_python_utilities-4.2.8.dist-info/METADATA,sha256=wbL2m1WMHXHAnMKdp1Wipj-_mPTh-fbMA2ZpW1i6H18,5409
29
+ hdx_python_utilities-4.2.8.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
30
+ hdx_python_utilities-4.2.8.dist-info/licenses/LICENSE,sha256=wc-4GpMn-ODs-U_bTe1YCiPVgvcjzrpYOx2wPuyAeII,1079
31
+ hdx_python_utilities-4.2.8.dist-info/RECORD,,