Skip to content

Commit

Permalink
Add timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
mbthiery committed Jul 28, 2023
1 parent 47cbf6a commit 031dbc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/stats/components/HntInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { Countdown } from "./Countdown"
const COINGECKO_HNT_URL =
"https://api.coingecko.com/api/v3/simple/price?ids=helium&vs_currencies=usd"
const MAX_DAILY_NET_EMISSIONS = 1643.835616
const DATE_FORMAT = "M/dd HH:mm"
const DATE_FORMAT = "M/dd HH:mm OOOO"

export const HntInfo = async () => {
const [
Expand Down
2 changes: 1 addition & 1 deletion src/app/stats/utils/dune/formatDuneDate.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { format } from "date-fns"

const DATE_FORMAT = "M/dd HH:mm"
const DATE_FORMAT = "M/dd HH:mm OOOO"

export const formatDuneDate = (date: string) => {
return format(new Date(date), DATE_FORMAT)
Expand Down

0 comments on commit 031dbc7

Please sign in to comment.