Fix on time.calculate example