Material: datepicker: November 3rd shows up twice on Safari 12

Created on 8 Nov 2018  路  6Comments  路  Source: angular/material

Bug:

There has been discussion in Google Groups

Specifically in the month of November 2018 the 04/11/2018 does not appear in the calendar and the 03/11/2018 is duplicated.

This problem of rederizaci贸n happens in the own site of angularjs material in the link AngularJS Material DatePicker.

The execution took place in the safari of an iphone 7 with IOS 12.1 and mac mini with MacOs Hight Sierra Safari 12.0.1.

Detailed Reproduction Steps:

  1. On an iphone with IOS 12.1 or mac with High Sierra MacOs.
  2. Open the site AngularJS Material DatePicker in Safari browser
  3. Click to view the calendar.

What is the expected behavior?

The calendar should display on 04/11/2018 and not duplicate on 03/11/2018.

What is the current behavior?

The calendar does not present the 04/11/2018 and the 03/11/2018 is being duplicated.

Which versions of AngularJS, Material, OS, and browsers are affected?

  • AngularJS: 1.7.x
  • AngularJS Material: 1.1.10
  • OS: MAC OS or IOS
  • Browsers: Safari

Is there anything else we should know? Stack Traces, Screenshots, etc.

IOS 12.1 Safari

MacOs High Sierra Safari

minor Safari iOS bug

Most helpful comment

I'm using it in Portuguese - Brazilian. This problem does not occur in chrome and firefox on mac os.

All 6 comments

What language and locale are you in? BR Portuguese?

I'm just using US English and here's what I see on iPhone XR with iOS 12.1:
simulator screen shot - iphone xr - 2018-11-12 at 00 27 01

It really looks like this could be a Safari bug related to your specific locale.

Actually, this also looks like it could be an issue with Brazil DST: https://www.timeanddate.com/news/time/brazil-postpones-dst-2018.html

First it says

The Brazilian authorities have moved the beginning of Daylight Saving Time (DST) from November 4 to November 18, 2018 to avoid interference with a nationwide university exam.

Then

Update: DST Not Postponed after All

The Brazilian authorities announced on October 15, 2018 that the beginning of Daylight Saving Time (DST) will not be postponed after all. Clocks will be advanced by 1 hour at 00:00 (12:00 midnight) on November 4, 2018, as previously planned.

I got this from this SO answer which was indicating that

so local dates at Oct-21-2012 between 0:0 and 1:0 doesn't exist in Brazil!

Which might be an issue again with 2018's DST.

Can you confirm that this doesn't happen in Chrome and/or Firefox on macOS?

I'm using it in Portuguese - Brazilian. This problem does not occur in chrome and firefox on mac os.

Do you have an answer about my problem?

This issue was fixed in Chromium in 2014.
But it is still an open bug for Safari. You can track it here.

Was this page helpful?
0 / 5 - 0 ratings