8000 Tags · sosodev/duration · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: sosodev/duration

Tags

v1.3.1

Toggle v1.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Stricter parsing (#8)

Closes issue #4 

* check for leading P, allow for negative
* use switch, add more invalid period string tests, increase parser strictness again
* simplify negative parsing

v1.3.0

Toggle v1.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Stricter parsing (#8)

Closes issue #4 

* check for leading P, allow for negative
* use switch, add more invalid period string tests, increase parser strictness again
* simplify negative parsing

v1.2.0

Toggle v1.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add Json marshaling and unmarshaling (#3)

* Add Json marshaling and unmarshaling
* Fix MarshalJSON test failure

v1.1.0

Toggle v1.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Always add P in String() method (#1)

* Always add P in String() method
* Add duration.Format method to convert time.Duration to ISO 8601 duration string
* refactor: use constants for time values
* refactor: extract FromTimeDuration conversion into a separate method
* feat: support negative duration

v1.0.1

Toggle v1.0.1's commit message
improve String() doc comment

v1.0.0

Toggle v1.0.0's commit message
dynamic String() function

0