{{o.content | formatHtml}}
{{o.author.name}}
{{o.pubDate | formatDate}}
{{parseInt(o.viewCount) | bigNumberTransform}}
calendar-converter 是 JavaScript 版本的公历和农历的互转库。 示例代码: var cc =new CalendarConverter; cc.lunar2solar(new Date(2011, 0, 3)); ---> 2010,11,29 cc.solar2lunar(new Date(2010, 10, 29)); ----> 2011, 1, 3 农历转公历时,如果那一月是那一年的闰月,则需额外传一个参数,才能得到正确的公历日期 cc.solar2lunar(new Date(2012, 4, 27)); ---> 2012年4月初7, 其中 isLeap为true,表示为闰四月 cc.lunar2s...