Matt Bolt
|
3e886fcbc6
Add millisecond parse unit test.
|
4 years ago |
Matt Bolt
|
c31e7b2eda
Replace the poorly written ParseDuration func in timeutil with the ParseDuration from go std lib enhanced with the ability to parse "d" units (days). Add unit tests for complex durations and negative durations.
|
4 years ago |
Sean Holcomb
|
a5b86b8c9f
Go FMT
|
4 years ago |
Sean Holcomb
|
d8277b9202
Refactor name, fix string
|
4 years ago |
Sean Holcomb
|
8e7f860da4
More unit tests
|
4 years ago |
Sean Holcomb
|
288a60ebf0
Refactor methods to pass time.Duration rather than strings
|
4 years ago |
Sean Holcomb
|
53a9557e12
Refactor time.go, clean out duplicate methods, check for whitespace, add
|
4 years ago |