ReadTimeUTCBytes does the same as ReadTimeBytes, but returns the value as UTC.
(b []byte)
| 1068 | |
| 1069 | // ReadTimeUTCBytes does the same as ReadTimeBytes, but returns the value as UTC. |
| 1070 | func ReadTimeUTCBytes(b []byte) (t time.Time, o []byte, err error) { |
| 1071 | t, o, err = ReadTimeBytes(b) |
| 1072 | return t.UTC(), o, err |
| 1073 | } |
| 1074 | |
| 1075 | // ReadTimeBytes reads a time.Time |
| 1076 | // extension object from 'b' and returns the |
searching dependent graphs…