gui-utilities 1.2.8__tar.gz → 1.2.9__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.
Potentially problematic release.
This version of gui-utilities might be problematic. Click here for more details.
- {gui_utilities-1.2.8 → gui_utilities-1.2.9}/PKG-INFO +1 -1
- {gui_utilities-1.2.8 → gui_utilities-1.2.9}/gui_utilities/gui_utilities.py +8 -2
- {gui_utilities-1.2.8 → gui_utilities-1.2.9}/gui_utilities.egg-info/PKG-INFO +1 -1
- {gui_utilities-1.2.8 → gui_utilities-1.2.9}/pyproject.toml +1 -1
- {gui_utilities-1.2.8 → gui_utilities-1.2.9}/LICENSE +0 -0
- {gui_utilities-1.2.8 → gui_utilities-1.2.9}/README.md +0 -0
- {gui_utilities-1.2.8 → gui_utilities-1.2.9}/gui_utilities/icons/focused_hide_text_icon.png +0 -0
- {gui_utilities-1.2.8 → gui_utilities-1.2.9}/gui_utilities/icons/focused_show_text_icon.png +0 -0
- {gui_utilities-1.2.8 → gui_utilities-1.2.9}/gui_utilities/icons/hide_text_icon.png +0 -0
- {gui_utilities-1.2.8 → gui_utilities-1.2.9}/gui_utilities/icons/show_text_icon.png +0 -0
- {gui_utilities-1.2.8 → gui_utilities-1.2.9}/gui_utilities/tlds/tlds_list.txt +0 -0
- {gui_utilities-1.2.8 → gui_utilities-1.2.9}/gui_utilities.egg-info/SOURCES.txt +0 -0
- {gui_utilities-1.2.8 → gui_utilities-1.2.9}/gui_utilities.egg-info/dependency_links.txt +0 -0
- {gui_utilities-1.2.8 → gui_utilities-1.2.9}/gui_utilities.egg-info/requires.txt +0 -0
- {gui_utilities-1.2.8 → gui_utilities-1.2.9}/gui_utilities.egg-info/top_level.txt +0 -0
- {gui_utilities-1.2.8 → gui_utilities-1.2.9}/setup.cfg +0 -0
|
@@ -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
|
|
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}"
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|