Files
tldr/pages.zh/common/kosmorro.md

20 lines
600 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# kosmorro
> 计算某个日期在地球上某个位置的天文历和事件。
> 更多信息:<https://kosmorro.space>。
- 获取法国巴黎的天文历:
`kosmorro --latitude={{48.7996}} --longitude={{2.3511}}`
- 获取法国巴黎的天文历,使用 UTC+2 时区:
`kosmorro --latitude={{48.7996}} --longitude={{2.3511}} --timezone={{2}}`
- 获取法国巴黎在2020年6月9日的天文历
`kosmorro --latitude={{48.7996}} --longitude={{2.3511}} --date={{2020-06-09}}`
- 生成 PDF注意必须安装 TeXLive
`kosmorro --format={{pdf}} --output={{path/to/file.pdf}}`