In #33 , we added our own parse method: string->time. We can use this to replace the custom method that we'd temporarily added.
Proposed Solution
Solution here is quick, just dropping in the other function. One note is that we no longer need to determine the type of the time unit to do the parsing.
Goal / Problem
In #33 , we added our own parse method:
string->time
. We can use this to replace the custom method that we'd temporarily added.Proposed Solution
Solution here is quick, just dropping in the other function. One note is that we no longer need to determine the type of the time unit to do the parsing.