gui-utilities 1.2.8__py3-none-any.whl → 1.2.9__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.

Potentially problematic release.


This version of gui-utilities might be problematic. Click here for more details.

@@ -1054,7 +1054,13 @@ def format_id(id_string):
1054
1054
  elif len(clean_id) == 7: return f"{clean_id[0:1]}.{clean_id[1:4]}.{clean_id[4:7]}"
1055
1055
  return id_string
1056
1056
 
1057
- def cellphone_number_format(cellphone_number):
1057
+ def format_cellphone_number(cellphone_number):
1058
1058
  clean_number = "".join(filter(str.isdigit, cellphone_number))
1059
1059
  if len(clean_number) == 10: return f"{clean_number[0:4]} - {clean_number[4:10]}"
1060
- return cellphone_number
1060
+ return cellphone_number
1061
+
1062
+ def format_date(date):
1063
+ day = f"{date.day:02d}"
1064
+ month = f"{date.month:02d}"
1065
+ year = f"{date.year:,}".replace(",", ".")
1066
+ return f"{day}/{month}/{year}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gui_utilities
3
- Version: 1.2.8
3
+ Version: 1.2.9
4
4
  Summary: Librería de utilidades gráficas en PyQt6
5
5
  Author-email: Guido Iván Gross <grossguidoivan@gmail.com>
6
6
  Requires-Python: >=3.8
@@ -1,11 +1,11 @@
1
- gui_utilities/gui_utilities.py,sha256=zPB5nVHrjMqZFs_wTpp4p_01zYFbDjDir0tGTUmmCWk,41916
1
+ gui_utilities/gui_utilities.py,sha256=1mHHn8EsofyE2gebt9AkjOPqxOAwghBu0DsGhsZyqE8,42081
2
2
  gui_utilities/icons/focused_hide_text_icon.png,sha256=0Ysx7vC-mEVfuSBWx1Zw-UhpqvrTCcIvnQ926wFmuK4,13084
3
3
  gui_utilities/icons/focused_show_text_icon.png,sha256=gmZU7RR4FN-9VSzpD00ZkQ8UGbihO2y808Kh3b_TaEg,6739
4
4
  gui_utilities/icons/hide_text_icon.png,sha256=f5jq6KaAygWNjzP_Ah6dw6eu8q5ml3m56JTeNSTSgEU,7207
5
5
  gui_utilities/icons/show_text_icon.png,sha256=8Vdp2XickPEM-eTb1-qBXf3qmHldSzllMZZfObir9p8,5376
6
6
  gui_utilities/tlds/tlds_list.txt,sha256=wIWmAQGVNsY0ZJy7qPW8kItDTCE4PTq8wcUhC2hpjkw,10916
7
- gui_utilities-1.2.8.dist-info/licenses/LICENSE,sha256=NNoMFs43kWl1J-aqq7_EsPlBjL5XTccWjZlwrlCR-Xc,1093
8
- gui_utilities-1.2.8.dist-info/METADATA,sha256=HpSoMo_l_c06nH9uv-XN45D_aVSOvy2zhCggu_j0pdM,265
9
- gui_utilities-1.2.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
- gui_utilities-1.2.8.dist-info/top_level.txt,sha256=c4C84nMT41keiX9b1AJJZDBU3kA38c7vOmP9kDie8Lk,14
11
- gui_utilities-1.2.8.dist-info/RECORD,,
7
+ gui_utilities-1.2.9.dist-info/licenses/LICENSE,sha256=NNoMFs43kWl1J-aqq7_EsPlBjL5XTccWjZlwrlCR-Xc,1093
8
+ gui_utilities-1.2.9.dist-info/METADATA,sha256=GEFKXCsBtXegR3i-a30IuyJeLpvchetF3WOMYzYn17Q,265
9
+ gui_utilities-1.2.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
+ gui_utilities-1.2.9.dist-info/top_level.txt,sha256=c4C84nMT41keiX9b1AJJZDBU3kA38c7vOmP9kDie8Lk,14
11
+ gui_utilities-1.2.9.dist-info/RECORD,,