We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
just like the way DateFormatPipe does,
if (!value) { return ‘’; }
The text was updated successfully, but these errors were encountered:
Since amLocal currently always returns a Moment object, I'm not it should return '' if given an empty value.
Moment
''
Is the problem that https://github.com/urish/ngx-moment#amlocal-pipe returns 'Invalid date' when given an empty input? Maybe instead, amDateFormat should return '' if given an invalid Moment object
amDateFormat
Sorry, something went wrong.
No branches or pull requests
just like the way DateFormatPipe does,
if (!value) { return ‘’; }
The text was updated successfully, but these errors were encountered: