auth, trips and join trips

This commit is contained in:
2026-04-16 14:51:54 +07:00
parent de0d1c5413
commit 237caad488
49 changed files with 11343 additions and 334 deletions
+19
View File
@@ -0,0 +1,19 @@
import { clsx, type ClassValue } from "clsx";
export function cn(...inputs: ClassValue[]) {
return clsx(inputs);
}
export function formatRupiah(amount: number): string {
return new Intl.NumberFormat("id-ID", {
style: "currency",
currency: "IDR",
minimumFractionDigits: 0,
}).format(amount);
}
export function formatDate(date: Date | string): string {
return new Intl.DateTimeFormat("id-ID", {
dateStyle: "long",
}).format(new Date(date));
}