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.

input[time] Needs default date option. #9603

Open
@SimeonC

Description

@SimeonC

Currently the date value of an input[time] field defaults to 1970, which isn't terribly useful.
Would it be possible to have an optional attribute or ng-model-options value to allow us to set the date of the new time?

Example: Enter in 12:12 am in an input[time] directive, the date is set to 1970-01-01 00:12:00 +1300

Desired Functionality: Enter in 12:12 am in an input[time] with default date set to today, date is set to 2014-10-14 00:12:00 +1300

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions