adds local_time helper
fixes timezone issue