Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Date filter issue with UTC timezone when used from browser running in Isarel timezone and on DST change date Mar 25 #14418

Open
@JanyJose

Description

@JanyJose

Note: for support questions, please use one of these channels: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
When date filter with 'UTC' timezone is used in a browser opened on Israel timezone, DST change date Mar 25 having issue.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).

http://plnkr.co/edit/K48gXbI4vCf09TgmsPEO?p=preview

What is the expected behavior?

Epoc time '1458874500000' should show 2.55AM and '1458874800000' should show 3.00 AM. Currently '1458874500000' is showing 3.55 AM

What is the motivation / use case for changing the behavior?
Angular date filter should work with DST also.

Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.

Angular version : v1.4.8,
Browser : Chrome

Other information (e.g. stacktraces, related issues, suggestions how to fix)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions