| import { clsx, type ClassValue } from "clsx" | |
| import { twMerge } from "tailwind-merge" | |
| export function cn(...inputs: ClassValue[]) { | |
| return twMerge(clsx(inputs)) | |
| } | |
| export function formatTime(date: Date): string { | |
| return new Intl.DateTimeFormat('cs-CZ', { | |
| hour: '2-digit', | |
| minute: '2-digit' | |
| }).format(date) | |
| } |