Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

PatternDateFormat parse result is UTC by default #41

Closed
gnefedev opened this issue May 9, 2019 · 0 comments
Closed

PatternDateFormat parse result is UTC by default #41

gnefedev opened this issue May 9, 2019 · 0 comments

Comments

@gnefedev
Copy link

gnefedev commented May 9, 2019

For example parsing 2019-05-09 by pattern yyyy-MM-dd in MSK (UTC+0300) will return Thu, 09 May 2019 00:00:00 UTC, expected result is Thu, 09 May 2019 00:00:00 GMT+0300
It will help to parse user input. Default behavior for Java date parser is to use local timezone.

@soywiz soywiz closed this as completed in 94e6ace Sep 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant