返回顶部
l

lunar-converter月面转换器

|

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
128
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

lunar-converter

阴历转换工具

功能

  • - 阴历转阳历:输入阴历年月日,返回对应的阳历日期
  • 阳历转阴历:输入阳历年月日,返回对应的阴历日期

使用方法

调用 scripts/lunar.py 脚本:

阴历转阳历

bash
python scripts/lunar.py lunar2solar <年份> <月份> <日期>

示例:查询 2026 年阴历 2 月 12 日对应的阳历
bash
python scripts/lunar.py lunar2solar 2026 2 12

输出: {result: 2026-03-30}

阳历转阴历

bash
python scripts/lunar.py solar2lunar <年份> <月份> <日期>

示例:查询 2026 年 3 月 30 日对应的阴历
bash
python scripts/lunar.py solar2lunar 2026 3 30

输出: {result: 2026年二月十二}

注意事项

  • - 使用 lunardate Python 库(已预装)
  • 支持范围:1900-2100 年
  • 阴历日期每年对应的阳历可能不同,查询时需指定年份
  • 输出为 JSON 格式,方便程序解析

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 lunar-converter-1775995810 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 lunar-converter-1775995810 技能

通过命令行安装

skillhub install lunar-converter-1775995810

下载

⬇ 下载 lunar-converter v1.0.0(免费)

文件大小: 2.38 KB | 发布时间: 2026-4-13 10:55

v1.0.0 最新 2026-4-13 10:55
中文:
• 熟练掌握农历(阴历)与公历(阳历)之间的日期转换,可准确进行传统节日、节气及历史日期的对应换算。
English:
• Proficient in converting dates between the Chinese lunar calendar (Yinli) and the Gregorian calendar (Yangli), with accurate alignment of traditional festivals, solar terms, and historical dates.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部