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

feature-request: allow to specify duration as a date-range instead of working days #55

Closed
JoernT opened this issue Apr 14, 2016 · 2 comments

Comments

@JoernT
Copy link

JoernT commented Apr 14, 2016

if using an external data provider it's hard to calculate the working days. Instead it would be great if one could specify a duration between two dates. Would be fine enough if weekends are just ignored to calculate the actual working days.

@robicch
Copy link
Owner

robicch commented Apr 14, 2016

Actually the TaskFactory.build function uses only "start" and "duration" in days.
Then regarding working days, just change the isHoliday function implementation on i18nJs.js file.

Hoping this helps.
Roberto

@robicch robicch closed this as completed Apr 14, 2016
@JoernT
Copy link
Author

JoernT commented Apr 14, 2016

Thanks for quick reply - at least that gives me the pointers i was looking for. Thanks

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