gov-uk-dashboards 24.1.0__py3-none-any.whl → 24.1.1__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.
@@ -163,6 +163,11 @@ def get_todays_date_for_downloaded_csv() -> str:
163
163
  return str(datetime.today().strftime("%d/%m/%Y"))
164
164
 
165
165
 
166
+ def convert_datetime_to_dd_mm_yyy_string(input_datetime: datetime):
167
+ """convert datetime to DD/MM/YYYY string"""
168
+ return str(input_datetime.strftime("%d/%m/%Y"))
169
+
170
+
166
171
  def date_string_is_full_month_and_full_year_format(date_string: str):
167
172
  """checks if a date string is in the format $B $Y"""
168
173
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gov_uk_dashboards
3
- Version: 24.1.0
3
+ Version: 24.1.1
4
4
  Summary: Provides access to functionality common to creating a data dashboard.
5
5
  Author: Department for Levelling Up, Housing and Communities
6
6
  Description-Content-Type: text/markdown
@@ -106,12 +106,12 @@ gov_uk_dashboards/lib/dap/__init__.py,sha256=bYga8kJuf9TGkfpnd16SInrD1FcN8iPn4Sz
106
106
  gov_uk_dashboards/lib/dap/dap_deployment.py,sha256=ZXixeOAtRNjMsPdGKLwwLNamlo0miZLaKCckKtq8_iI,2313
107
107
  gov_uk_dashboards/lib/dap/get_dataframe_from_cds.py,sha256=6DUaoVBO4YqwiuCXvetE8_t-8mVcO27HnCRKlzz8Hpk,4090
108
108
  gov_uk_dashboards/lib/datetime_functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
109
- gov_uk_dashboards/lib/datetime_functions/datetime_functions.py,sha256=BQgr8I_vFNYwLi-fE4YC6jZ5PpbPea2rnD_2a_lw0YE,12209
109
+ gov_uk_dashboards/lib/datetime_functions/datetime_functions.py,sha256=e1RXgLBD37n2slm4fKcFSIrb6O9ZoFROceZHO5CUzj8,12379
110
110
  gov_uk_dashboards/lib/download_functions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
111
111
  gov_uk_dashboards/lib/download_functions/convert_fig_to_image_and_download.py,sha256=-dkYbpTL6txftFfAZW-vfW_O9efb6Dse9WJ9MM6mAqw,534
112
112
  gov_uk_dashboards/lib/download_functions/download_csv_with_headers.py,sha256=aLL3UodmilZA_1bQhtjtKi3FoB-4X_MtLOcDw5e1Nwo,4412
113
- gov_uk_dashboards-24.1.0.dist-info/licenses/LICENSE,sha256=GDiD7Y2Gx7JucPV1JfVySJeah-qiSyBPdpJ6RHCEHTc,1126
114
- gov_uk_dashboards-24.1.0.dist-info/METADATA,sha256=jreh2sGUUeWLJk_MdHLPT_Fb_CWd-LGTW4uIO-qfpnI,5890
115
- gov_uk_dashboards-24.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
116
- gov_uk_dashboards-24.1.0.dist-info/top_level.txt,sha256=gPaN1P3-H3Rgi2me6tt-fX_cxo19CZfA4PjlZPjGRpo,18
117
- gov_uk_dashboards-24.1.0.dist-info/RECORD,,
113
+ gov_uk_dashboards-24.1.1.dist-info/licenses/LICENSE,sha256=GDiD7Y2Gx7JucPV1JfVySJeah-qiSyBPdpJ6RHCEHTc,1126
114
+ gov_uk_dashboards-24.1.1.dist-info/METADATA,sha256=-E9u_Wvs85lErIoWT9fHIEnFLPw_2FGii3mHAq0V6kY,5890
115
+ gov_uk_dashboards-24.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
116
+ gov_uk_dashboards-24.1.1.dist-info/top_level.txt,sha256=gPaN1P3-H3Rgi2me6tt-fX_cxo19CZfA4PjlZPjGRpo,18
117
+ gov_uk_dashboards-24.1.1.dist-info/RECORD,,