Showing subgraph timestamp results in human-readable format

Viewed 40

My subgraph as a UNIX timestamp as seconds defined as the following

type TokenSwap @entity {
  id: ID!

  # UNIX timestamp of block in which the swap was created
  timestamp: BigInt!
}

When I am experimenting in TheGraph playground, is there a way for me to display this as UTC time, instead of raw seconds since the UNIX epoch? This would make the playground output more readable.

0 Answers
Related