bug1035178 - Add datepicker and timepicker for events platform

https://bugzilla.mozilla.org/show_bug.cgi?id=1035178
can't you just do if newValue?