The code for EggTimer.Alarm.new uses Time for the time field while the code for EggTimer.Alarm.remaining is using DateTime, raising a MatchError.
Yup. I believe the author meant Time.add and Time.diff. No matching error afterwards.
The code for EggTimer.Alarm.new uses Time for the time field while the code for EggTimer.Alarm.remaining is using DateTime, raising a MatchError.
Yup. I believe the author meant Time.add and Time.diff. No matching error afterwards.