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

calendarView.selectDate(Date()) displaying UTC time not Calendar.current #130

Open
johnoutdoorsy opened this issue Sep 11, 2020 · 1 comment

Comments

@johnoutdoorsy
Copy link

johnoutdoorsy commented Sep 11, 2020

I know inside calendarView.swift I can do something like this to fix it:

public lazy var calendar : Calendar = {
        return Calendar.current
    }()

but I'm using pods and I rather not break the code. Any idea on how I can use calendarView.selectDate(Date()) to properly display a date on my calendar? I don't see how showing the UTC time on the calendar is useful?

What's interesting is if you set the style.cellColorToday it selected the local "today" so how do I do the same with selectDate()?

Screen Shot 2020-09-10 at 7 25 07 PM

--
I've also tried the demo app and it behaves the same way.

@ismael9291
Copy link

I am noticing the same thing, any updates towards this issue?

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