import{_ as a,c as i,a2 as n,o as t}from"./chunks/framework.Ct9Y1XYN.js";const E=JSON.parse('{"title":"农历转换阳历","description":"","frontmatter":{},"headers":[],"relativePath":"guide/from-lunar.md","filePath":"zh/guide/from-lunar.md"}'),e={name:"guide/from-lunar.md"};function l(p,s,h,r,k,d){return t(),i("div",null,s[0]||(s[0]=[n(`

农历转换阳历

当为阴历闰月的时候,会出现一个农历日期对应两个阳历日期的情况,所以返回对象形式。

js
console.log(getSolarDateFromLunar('2001-03-05'));
// {date: '2001-03-29', leapMonthDate: undefined}

console.log(getSolarDateFromLunar('2001-04-05'));
// {date: '2001-04-27', leapMonthDate: '2001-05-27'}
`,3)]))}const c=a(e,[["render",l]]);export{E as __pageData,c as default};