Skip to content

Commit

Permalink
🔥 remove console
Browse files Browse the repository at this point in the history
  • Loading branch information
higuaifan committed Jan 15, 2024
1 parent 4e14431 commit d4d0524
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions lib/lunar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ import { datetimeFormat } from './tools/datetimeFormat';
export const lunar = (datetime: Date | string | number) => {

const dObj = datetimeFormat(datetime);
console.log(dObj);

const lunarDate = solarToLunar({ year: dObj.year, month: dObj.month, day: dObj.day });
const lunarYear = getYearJiaZi(lunarDate.year);

const terms = getTermsByYear(dObj.year);
console.log(terms);
let term: undefined | string;

terms.forEach(t => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@shuimo-design/lunar",
"type": "module",
"version": "0.0.2",
"version": "0.0.3",
"description": "javascript solar to chinese lunar tool",
"author": "higuaifan",
"browser": "dist/index.umd.js",
Expand Down

0 comments on commit d4d0524

Please sign in to comment.