Browse Source

fix style

feat/windows-support
Jérôme Deuchnord 6 months ago
parent
commit
23ac71144d
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      kosmorro/dumper.py

+ 6
- 2
kosmorro/dumper.py View File

@@ -243,8 +243,12 @@ class TextDumper(Dumper):
"{next_moon_phase} on {next_moon_phase_date} at {next_moon_phase_time}"
).format(
next_moon_phase=_(strings.from_moon_phase(moon_phase.get_next_phase())),
next_moon_phase_date=format_date(moon_phase.next_phase_date, "full", locale.getlocale()[0]),
next_moon_phase_time=format_time(moon_phase.next_phase_date, "short", locale=locale.getlocale()[0]),
next_moon_phase_date=format_date(
moon_phase.next_phase_date, "full", locale.getlocale()[0]
),
next_moon_phase_time=format_time(
moon_phase.next_phase_date, "short", locale=locale.getlocale()[0]
),
)

return "\n".join([current_moon_phase, new_moon_phase])


Loading…
Cancel
Save