mirror of https://github.com/eyhc1/rendercv.git
don't include the day in the last updated text
This commit is contained in:
parent
c5f1af2513
commit
6b6432b716
|
@ -278,14 +278,14 @@ def divide_length_by(length: str, divider: float) -> str:
|
||||||
|
|
||||||
|
|
||||||
def get_today() -> str:
|
def get_today() -> str:
|
||||||
"""Return today's date.
|
"""Return today's date in the format of "Month, Year".
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
str: Today's date.
|
str: Today's date.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
today = date.today()
|
today = date.today()
|
||||||
return today.strftime("%B %d, %Y")
|
return today.strftime("%B, %Y")
|
||||||
|
|
||||||
|
|
||||||
def get_path_to_font_directory(font_name: str) -> str:
|
def get_path_to_font_directory(font_name: str) -> str:
|
||||||
|
|
Loading…
Reference in New Issue