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 1a17fea commit bbe2d28
Showing 1 changed file with 1 addition and 1 deletion.
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:
next_date.year, next_date.month, next_date.day,
time_utc.hour, time_utc.minute, tzinfo=pytz.UTC).astimezone(tz)

return local_date.strftime("%A, %d de %B a las %H:%M").capitalize()
return local_date.strftime("%A, %d de %B a las %H:%M").capitalize() + f" ({timezone} {tz} {locale.getlocale()})"

return ""

0 comments on commit bbe2d28

Please sign in to comment.