-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Motivation
Re-evaluate how duration is computed and fix if necessary.
Hypothesis
We can calculate the time.Duration only when we know the date to which feel duration from iso 8601 applies to.
And even then we should use functions AddDate and Add to calculate it correctly.
See
Line 270 in b5bde4e
| func (duration FEELDuration) Duration() time.Duration { |
Task
- check test code and add tests, if necessary, to cover variants of duration calculation
- verify hypothesis
- fix implementation were necessary
Reactions are currently unavailable