From a17d0ed2caf58f0cf8daf2870f19308374f5ab9d Mon Sep 17 00:00:00 2001 From: luna Date: Sat, 4 Jan 2025 22:44:11 +1030 Subject: [PATCH] fix: use timeago for build date --- src/routes/settings.lazy.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/settings.lazy.tsx b/src/routes/settings.lazy.tsx index 8305b92..08d6196 100644 --- a/src/routes/settings.lazy.tsx +++ b/src/routes/settings.lazy.tsx @@ -11,6 +11,7 @@ import { Moon, Sun } from 'lucide-react'; import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from '@/components/ui/dropdown-menu'; import { useTheme } from '@/components/theme-provider/use-theme'; import { Link } from '@/components/ui/Link'; +import TimeAgo from 'react-timeago-i18n'; export const Route = createLazyFileRoute('/settings')({ component: RouteComponent, @@ -169,7 +170,7 @@ function RouteComponent() {
{'build date: '} - {__BUILD_DATE__} +
{'version: '}