add func_util.if_not_none
parse datetimes

closes #2