Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Return null instead of current date #255

Open
KerVitarLaeda opened this issue Jun 26, 2016 · 1 comment
Open

Return null instead of current date #255

KerVitarLaeda opened this issue Jun 26, 2016 · 1 comment

Comments

@KerVitarLaeda
Copy link

KerVitarLaeda commented Jun 26, 2016

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).

@djuerges
Copy link

djuerges commented Sep 1, 2017

+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

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

No branches or pull requests

2 participants