Fix timestamp output