How to create a fromNow field in Gatsby graphql

前端 未结 0 833
时光取名叫无心
时光取名叫无心 2021-02-02 08:08

So I have a bunch of events. I want to show them in my Gatsby site as future events and past events. Buildtime, I need to figure out if the event is already past or still coming

相关标签:
回答
  • 消灭零回复
提交回复
热议问题