Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

Datepicker ignores time when model becomes null #5744

Open
@guinnberg

Description

@guinnberg

Bug description:

If either the model is null or it's set to null, the parser ignores the time which is causing issues after the summer time change (GMT+1 specially, setting the date to the previous day at 23:00)

Link to minimally-working plunker that reproduces the issue:

http://plnkr.co/edit/Mc2JbTXm4GYNA5wX8pC7?p=preview
As is shown at the beginning, the date is parsed to UTC with time (as spected), but if you click on clear button and then select another date, the time is ignored.

Version of Angular, UIBS, and Bootstrap

Angular: 1.5.3

UIBS: 1.3.0

Bootstrap: 3.3.6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions