fix #970 aria.utils.Date.format can now handle falsy values and empty objects and returns null in those cases instead of failing with a TypeError