about summary refs log tree commit diff stats
path: root/src/times.js
blob: 5615c19ebd53ffdb02b39b8595b3a00b696746b4 (plain) (blame)
1
2
3
4
5
6
7
import day from "dayjs";
import utc from "dayjs/plugin/utc";
day.extend(utc);

export function formatUtc(date) {
  return day.utc(date).format("HH:mm");
}