users update create delete tested
This commit is contained in:
@@ -4,3 +4,9 @@ import { twMerge } from "tailwind-merge"
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs))
|
||||
}
|
||||
|
||||
export function dateToLocaleString(date: string) {
|
||||
return new Date(date).toLocaleString("en-US",
|
||||
{ timeZone: "Europe/Istanbul", hour12: false, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit" }
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user