Skip to content
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

Month off by +1 when converting to Ethiopic date #12

Closed
m3hari opened this issue Apr 30, 2017 · 1 comment
Closed

Month off by +1 when converting to Ethiopic date #12

m3hari opened this issue Apr 30, 2017 · 1 comment

Comments

@m3hari
Copy link
Contributor

m3hari commented Apr 30, 2017

Today is
2017-04-30 g.c
2009-08-22 e.c


When converting to Ethiopic calendar, the month is off by +1. Here is a snippet to reproduce the issue.

var today  = new Ken(new Date());
today.toEC().toString();

returns "2009-09-22"

miqe added a commit that referenced this issue Apr 30, 2017
@miqe
Copy link
Owner

miqe commented Apr 30, 2017

Thanks, that only happened when using Date Object as ken input.
Fixed with #13

@miqe miqe closed this as completed Apr 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants