VACalendar icon indicating copy to clipboard operation
VACalendar copied to clipboard

Showing wrong month for the current date

Open nassifbasheer opened this issue 4 years ago • 2 comments

hi,

I downloaded the project and run the code without any code changes. if you can see the date is Aug, 07 , 2020, But the month shown is Jul 2020 with start date as JUL 06 Simulator Screen Shot - iPhone 11 - 2020-08-07 at 00 51 30

nassifbasheer avatar Aug 07 '20 05:08 nassifbasheer

hi,

any update

nassifbasheer avatar Aug 10 '20 04:08 nassifbasheer

It is because of time zone. set your time zone or comment this line calendar.timeZone = TimeZone(secondsFromGMT: 0)!

jayesh1991 avatar Sep 08 '20 14:09 jayesh1991