Skip to content

Commit

Permalink
Cálculo de próximo directo con horario local
Browse files Browse the repository at this point in the history
  • Loading branch information
mouredev committed Feb 24, 2024
1 parent 315759a commit 8fa3206
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion link_bio/link_bio/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ def next_date(dates: dict, timezone: str) -> str:

day = "Hoy" if weekday == 0 else weekdays[local_date.weekday()]

return local_date.strftime(f"{day.capitalize()}, %d/%m a las %H:%M") + f" ({timezone} {tz})"
return local_date.strftime(f"{day.capitalize()}, %d/%m a las %H:%M") + f" ({timezone})"

return ""
2 changes: 1 addition & 1 deletion link_bio/link_bio/views/header.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def header(details=True) -> rx.Component:
"/icons/twitch.svg",
const.TWITCH_URL,
highlight_color=Color.PURPLE.value
),
)
),
width="100%",
on_mount=PageState.check_schedule
Expand Down

0 comments on commit 8fa3206

Please sign in to comment.