2024-09-30 22:05:14 +02:00
|
|
|
import { DateTime } from "luxon";
|
|
|
|
|
2024-09-25 19:48:28 +02:00
|
|
|
export const defaultAvatarUrl = "https://pronouns.cc/default/512.webp";
|
2024-09-30 20:14:03 +02:00
|
|
|
export const tokenCookieName = "__Host-pronounscc-token";
|
2024-09-30 22:05:14 +02:00
|
|
|
export const idTimestamp = (id: string) =>
|
|
|
|
DateTime.fromMillis(parseInt(id, 10) / (1 << 22) + 1_640_995_200_000);
|