jsonresume / resume-cli

CLI tool to easily setup a new resume 📑
https://jsonresume.org
MIT License
4.56k stars 389 forks source link

duration calculation #163

Closed oupala closed 9 years ago

oupala commented 9 years ago

How is calculated a duration between a startDate and an endDate?

When I use this json:

"startDate": "1999-09-01",
"endDate": "2000-03-01",

I get the following result in my resume:

Sep, 1999 - Mar, 20005 months

It should be 6 or 7 months, depending on how the duration is calculated, but not 5 months !

dbkaplun commented 9 years ago

@oupala what template are you using? JSONResume itself does no calculation, just validation.

oupala commented 9 years ago

I'm using the elegant theme.

If JSONResume does no calculation, the calculation should comes from the theme. I find it strange that a theme does calculation, but why not...

I've just opened a similar issue on the elegant theme repo: mudassir0909/jsonresume-theme-elegant#53.

mudassir0909 commented 9 years ago

I'm closing this one, since this issue belongs on the theme repo