You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 23, 2019. It is now read-only.
Hi there, is there a way to fix your method formated() and other places that you save Date to fix the SUMERTIME cases ?
Cause, October 15 change from 00:00:00 to 14 23:00:00.
Could it be fix to not consider hour on your calendar ?
Thanks
The text was updated successfully, but these errors were encountered:
loverde-co
changed the title
October with bug.
Brazilian SUMMERTIME bug.
Oct 6, 2017
This merged couldn't help, still getting summer time wrong date yet.
And another thing happened. On iOS 11.x this bug occur on your re-formating function here:
func formated(withFormat format: String = "yyyy/MM/dd") -> Date? {
let formatter: DateFormatter = .init()
formatter.dateFormat = format
let dateString = formatter.string(from: self)
return formatter.date(from: dateString)
}
Always when you use this code, date back to yesterday. Every time.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi there, is there a way to fix your method formated() and other places that you save Date to fix the SUMERTIME cases ?
Cause, October 15 change from 00:00:00 to 14 23:00:00.
Could it be fix to not consider hour on your calendar ?
Thanks
The text was updated successfully, but these errors were encountered: