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.

AD vs BC in Datepicker #6209

Open
Open
@rndeon

Description

@rndeon

The issues forum is NOT for support requests. It is for bugs and feature requests only.
Please read https://github.com/angular-ui/bootstrap/blob/master/CONTRIBUTING.md and search
existing issues (both open and closed) prior to opening any new issue and ensure you follow the instructions therein.

Bug description:

Datepicker doesn't seem to process AD vs BC in the date text input, nor in the popup, nor in the uibDateParser.parse function (probably the root cause).
I realize this is not a common use case, but I'm hoping to use the "GG" part of the date format.

Link to minimally-working plunker that reproduces the issue:

https://plnkr.co/edit/kW7OXttHCBKBf44yrFeL?p=preview

Version of Angular, UIBS, and Bootstrap

Angular: 1.5.7

UIBS:2.0.1

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