Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -45,10 +45,10 @@ def get_moon_info(date_time: str) -> dict:
|
|
45 |
Returns:
|
46 |
A dictionary containing the Moon's Zodiac sign and phase.
|
47 |
"""
|
|
|
48 |
try:
|
49 |
# Parse input date and time
|
50 |
-
user_time = datetime.datetime
|
51 |
-
.strptime(date_time, "%Y-%m-%dT%H:%M:%S")
|
52 |
user_time = pytz.utc.localize(user_time)
|
53 |
|
54 |
# Load astronomical data
|
|
|
45 |
Returns:
|
46 |
A dictionary containing the Moon's Zodiac sign and phase.
|
47 |
"""
|
48 |
+
|
49 |
try:
|
50 |
# Parse input date and time
|
51 |
+
user_time = datetime.datetime.strptime(date_time, "%Y-%m-%dT%H:%M:%S")
|
|
|
52 |
user_time = pytz.utc.localize(user_time)
|
53 |
|
54 |
# Load astronomical data
|