import { formatDateTime, timeAgo } from '@/utils/date'; export function ColumnCreatedAt({ children }: { children: Date | string }) { return (
{formatDateTime( typeof children === 'string' ? new Date(children) : children, )}
{timeAgo(typeof children === 'string' ? new Date(children) : children)}
); } ColumnCreatedAt.size = 150;