adjust time unit for cosine decay parameters