date_utils icon indicating copy to clipboard operation
date_utils copied to clipboard

daysInMonth returns one more day (timezone issue)

Open boskokg opened this issue 5 years ago • 2 comments

Utils.daysInMonth returns one more day. Method is not aware of TimeZone). I expect that daysInMonth should return list with the Sunday as the first element but this method returned Saturday as the first day in the array.

boskokg avatar Dec 22 '18 02:12 boskokg

I have the same issue, I think it would be better to separate the logic from days in week. I can submit a PR.

normancarcamo avatar Nov 17 '19 21:11 normancarcamo

I created this issue a year ago. I don't think they will fix this soon...

boskokg avatar Nov 17 '19 22:11 boskokg