Use of "localtime" without parentheses is ambiguous

  Fix warning regression in 58d789e3015978ac746adc6525422e3702c6d77b