question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When the calendar use intertionalisation there is an hour shift in the day view on Mozilla only.

See original GitHub issue

Describe the bug

Hello,

When the calendar use intertionalisation (for french for exemple) there is an hour shift in the day view on Mozilla only.

the shift is present on min ,max hour and on all event present in the calendar.

you can correct this in Mozilla with a modification of the config file, parameter “privacy.resistFingerprinting” set to true.

But this is not a viable solution for production.

Minimal reproduction of the problem with instructions

This can be reproduce directly in your demo here : https://angular-calendar.com/#/i18n

Screenshots

this is the result with Chrome : image

and this is the result with Mozilla : image

Versions

  • @angular/core: repro on Demo site directly
  • angular-calendar: repro on Demo site directly
  • Browser name and version: Version 85.0.4183.102 (Build officiel) (64 bits) , Firefox 80.01 (64 bits)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
antarius73commented, Sep 22, 2020

oki, it’s works now,

thanks for your efficiency

Le mar. 22 sept. 2020 à 15:23, Matt Lewis notifications@github.com a écrit :

Ah yes it was the timezone change, I just pushed up a fix to the demo code. To fix it in your custom date formatter you need to change new DatePipe(locale).transform to formatDate. Hope that helps and thanks for reporting!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mattlewis92/angular-calendar/issues/1341#issuecomment-696718696, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEFPX3QBJJDLKYHNYL2CFFLSHCQN5ANCNFSM4RVMUDVQ .

0reactions
mattlewis92commented, Sep 22, 2020

Ah yes it was the timezone change, I just pushed up a fix to the demo code. To fix it in your custom date formatter you need to change new DatePipe(locale).transform to formatDate. Hope that helps and thanks for reporting!

Read more comments on GitHub >

github_iconTop Results From Across the Web

UI Internationalization — Firefox Source Docs documentation
It's exposed on Services.intl object and can be used just like a regular Intl ... day , hour etc. and will compose the...
Read more >
Locale management — Firefox Source Docs documentation
In case there's only one locale available, a list with one element will work while ... be used in all scenarios like selecting...
Read more >
1517569 - Lightning - Can't edit start or end ... - Bugzilla@Mozilla
If you just create a new event and don't edit the hour fields, it will be created ... I can't reproduce this using...
Read more >
Mozilla's Vision of the Web
Everyone can access the Web, and use it to reach others. ... The Web is not just a technology, but an enormous and...
Read more >
Internationalization - MDN Web Docs - Mozilla
The i18n system for extensions built using WebExtension APIs is similar to common ... Each one of these has a messages.json file inside...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found