Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def create_date_format():
|
|
| 21 |
current_month = current_date.month
|
| 22 |
current_day = current_date.day
|
| 23 |
current_year = current_date.year
|
| 24 |
-
month_name = datetime.datetime.strptime(str(
|
| 25 |
current_date_format1 = f"{month_name} {current_day}, {current_year}"
|
| 26 |
current_date_format2 = f"{current_month}/{current_day}/{current_year}"
|
| 27 |
#create a pedding with spaces b second date
|
|
|
|
| 21 |
current_month = current_date.month
|
| 22 |
current_day = current_date.day
|
| 23 |
current_year = current_date.year
|
| 24 |
+
month_name = datetime.datetime.strptime(str(current_month), "%m").strftime("%B")
|
| 25 |
current_date_format1 = f"{month_name} {current_day}, {current_year}"
|
| 26 |
current_date_format2 = f"{current_month}/{current_day}/{current_year}"
|
| 27 |
#create a pedding with spaces b second date
|