Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure date showing format #4

Open
MatteoJoliveau opened this issue Oct 26, 2017 · 2 comments
Open

Configure date showing format #4

MatteoJoliveau opened this issue Oct 26, 2017 · 2 comments

Comments

@MatteoJoliveau
Copy link
Contributor

Give the end user the choice between having the date in the card and the time in the central circle, or viceversa.

@MatteoJoliveau
Copy link
Contributor Author

After further investigation, we noticed that the Angular DatePipe is broken on IE and Edge browsers. We need a way to patch this and/or to optionally inject another pipe to use from the outside.

@csull29
Copy link

csull29 commented Feb 20, 2019

DatePipe is causing errors in Safari:

if (this.dateValue === null || this.dateValue === undefined) {
this.dateValue = new Date();
}

{{dateValue | date: "HH:mm"}}
{{dateValue | date:"dd MMMM yyyy"}}

Console:
Error: InvalidPipeArgument: '2019-02-20 12:11:35' for pipe 'DatePipe'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants