fix notice about $timeformat