-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gregorian to Maya LC conversion #15
Comments
Good question. I don't actually think there is at the moment. I'm working on the library today, so I'll have a crack at it. |
Would be nice to have it, as it's kind of a blocker to start looking into Mayan dates |
I don't have a good way to handle the conversion between julian and gregorian, so I'm probably not going to get a chance at this until I finish the calculator driving this project. |
If you're looking for getting started with understanding maya dates, I'd try running something like import {origin} from "@drewsonne/maya-dates/cr/calendar-round";
console.log(`${origin}`)
let cr = origin.next()
console.log(`${cr}`)
while (!origin.equal(cr)) {
console.log(`${cr}`)
cr = cr.next()
} should give you an idea of how the calendar round works. |
Thanks, I'll have a look |
Thanks for the lib!
Is there any way to convert Gregorian to Maya LC?
The text was updated successfully, but these errors were encountered: