allow date attributes to be passed to edit_object() as UNIX timestamps (which is how they are returned by get_object())