Matt Bolt
|
3e886fcbc6
Add millisecond parse unit test.
|
před 4 roky |
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.
|
před 4 roky |
Sean Holcomb
|
a5b86b8c9f
Go FMT
|
před 4 roky |
Sean Holcomb
|
d8277b9202
Refactor name, fix string
|
před 4 roky |
Sean Holcomb
|
8e7f860da4
More unit tests
|
před 4 roky |
Sean Holcomb
|
288a60ebf0
Refactor methods to pass time.Duration rather than strings
|
před 4 roky |
Sean Holcomb
|
53a9557e12
Refactor time.go, clean out duplicate methods, check for whitespace, add
|
před 4 roky |