diff --git a/src/components/primitives/Time.tsx b/src/components/primitives/Time.tsx index d32b8fec..ad2e3bb3 100644 --- a/src/components/primitives/Time.tsx +++ b/src/components/primitives/Time.tsx @@ -13,6 +13,7 @@ export default function Time({ timestamp, prefix }: TimeProps) { return then .replace(/in\s/, prefix ? `${prefix} ` : "In ") + .replace(/a\s/, "1 ") .replace(/\bminute(s?)\b/g, "m") .replace(/\bsecond(s?)\b/g, "s") .replace(/\bhour(s?)\b/g, (_match, plural) => (plural ? "hours" : "hour"))