SergeyO7 commited on
Commit
93a20bb
·
verified ·
1 Parent(s): afa5764

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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