Add commented line with code to return relative time in responses
This commit is contained in:
parent
53aa9ce368
commit
a61ad36151
@ -13,7 +13,8 @@ public final class InstantTypeAdapter extends TypeAdapter<Instant> {
|
|||||||
if (write == null) {
|
if (write == null) {
|
||||||
writer.nullValue();
|
writer.nullValue();
|
||||||
} else {
|
} else {
|
||||||
writer.value(write.toEpochMilli());
|
//writer.value(write.toEpochMilli() - System.currentTimeMillis());
|
||||||
|
writer.value(write.toEpochMilli());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user