angular-moment icon indicating copy to clipboard operation
angular-moment copied to clipboard

Return null instead of current date

Open KerVitarLaeda opened this issue 9 years ago • 1 comments

Perhaps should add a 'nothing' checks

if (isUndefinedOrNull(value)) return value;

in amUtcOffset and amTimezone filters Just like it has already done in other filters (amCalendar, amDifference, etc).

KerVitarLaeda avatar Jun 26 '16 11:06 KerVitarLaeda

+1 for this issue - when having undefined values, it is nevertheless rendered as current date, which is unexpected and certainly hard to figure out as well

djuerges avatar Sep 01 '17 12:09 djuerges