Closed intelliot closed 4 years ago
This is useful when parsing a timestamp from the ledger.
It's the reverse of iso8601ToRippleTime()* and we should add tests to ensure that it reverses correctly.
* Previously exposed in https://github.com/ripple/ripple-lib/pull/898 for creating timestamps to pass to prepareTransaction()
See comment: https://github.com/ripple/ripple-lib/pull/926#issuecomment-417155676
This is done. Docs: https://xrpl.org/rippleapi-reference.html#rippletimetoiso8601
This is useful when parsing a timestamp from the ledger.
It's the reverse of iso8601ToRippleTime()* and we should add tests to ensure that it reverses correctly.
* Previously exposed in https://github.com/ripple/ripple-lib/pull/898 for creating timestamps to pass to prepareTransaction()
See comment: https://github.com/ripple/ripple-lib/pull/926#issuecomment-417155676