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

Date format #185

Open
ancooor opened this issue Mar 21, 2019 · 1 comment
Open

Date format #185

ancooor opened this issue Mar 21, 2019 · 1 comment

Comments

@ancooor
Copy link

ancooor commented Mar 21, 2019

Hi and thanks for your awesome work!
Please, could you give me an help.

I receive dates from a service that returns:
eventstart: 2019-03-19T09:00:00.0000000
eventend: 2019-03-19T11:00:00.0000000

into the browser it works properly.
If I use it on the iPhone emulator, the calendar display 1 hours before.

I want that all my dates will appear into the calendar as they are passed from the service (i.e. 9:00-11:00), without consider the timezone of the users.

Do you have suggestions?

Thank you

@twinssbc
Copy link
Owner

@ancooor The calendar is using local timezone. Actually I suggest you take timezone into account, although you think the service returns 9:00-11:00, the calendar also should display this way. But if your app is used by global users, that's not the case. If you book an event with another user in other country, they certainly have the event displayed at different time.

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