Skip to content

Commit

Permalink
Merge branch 'release/1.0.10'
Browse files Browse the repository at this point in the history
  • Loading branch information
drewsonne committed Mar 2, 2020
2 parents 4ff18aa + cd7d450 commit 578cd8e
Show file tree
Hide file tree
Showing 133 changed files with 92,757 additions and 100,232 deletions.
5 changes: 5 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"presets": [
"@babel/preset-env"
]
}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ console.log(`Full Date: ${partial_date.lc.kIn === wildcard}`);
```javascript
const mayadates = require('@drewsonne/maya-dates');

const cr = mayadates.cr.getCalendarRound(
const calendarRound = mayadates.calendarRound.getCalendarRound(
13, 'Ajaw',
18, mayadates.cr.getHaabMonth('Kumk\'u')
18, mayadates.calendarRound.getHaabMonth('Kumk\'u')
);
const lc = mayadates.lc.LongCount(0, 0, 0, 17, 9);
const fullDate = new mayadates.FullDate(cr, lc);
const fullDate = new mayadates.FullDate(calendarRound, lc);

console.log(`${lc}`);
console.log(`${cr}`);
console.log(`${calendarRound}`);
console.log(`${fullDate}`);
```

Expand Down
Loading

0 comments on commit 578cd8e

Please sign in to comment.