浏览代码

fix style

feat/windows-support
Jérôme Deuchnord 6 个月前
父节点
当前提交
23ac71144d
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. +6
    -2
      kosmorro/dumper.py

+ 6
- 2
kosmorro/dumper.py 查看文件

@@ -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])


正在加载...
取消
保存