-
Notifications
You must be signed in to change notification settings - Fork 26.6k
Closed
Labels
area: i18nIssues related to localization and internationalizationIssues related to localization and internationalizationtype: bug/fix
Description
I'm submitting a ... (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see
Current behavior
When using locale 'de-DE':
{{myDate | date: 'short'}} returns day and month numbers < 10 without a leading 0
Example 23.3.2017 13:25
Expected behavior
Format should be 23.03.2017 13:25
Same leading 0 for the day as for the month.
Minimal reproduction of the problem with instructions
Set locale to 'de-DE' and output any date in short format.
What is the motivation / use case for changing the behavior?
Correct date formating :-)
-
Angular version: 2.0.X
´4.1.x -
Browser:
All -
Language:
Typescript
Metadata
Metadata
Assignees
Labels
area: i18nIssues related to localization and internationalizationIssues related to localization and internationalizationtype: bug/fix