You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since amLocal currently always returns a Moment object, I'm not it should return '' if given an empty value.
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
just like the way DateFormatPipe does,
if (!value) { return ‘’; }
The text was updated successfully, but these errors were encountered: