We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 130ddc3 commit 4e11916Copy full SHA for 4e11916
conversion.go
@@ -25,7 +25,7 @@ func UnixTimeToRippleTime(unixTime int64) int64 {
25
// Convert a Ripple timestamp to an ISO8601 time.
26
func RippleTimeToISOTime(rippleTime int64) string {
27
unixTime := RippleTimeToUnixTime(rippleTime)
28
- return time.Unix(unixTime, 0).Format(time.RFC3339)
+ return time.Unix(unixTime, 0).UTC().Format(time.RFC3339)
29
}
30
31
// Convert an ISO8601 timestamp to a Ripple timestamp.
0 commit comments