AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import {
Tooltip,
TooltipContent,
TooltipTrigger,
} from '@/components/ui/tooltip';
import { formatUtils } from '@/lib/format-utils';
type FormattedDateProps = {
date: Date;
includeTime?: boolean | undefined;
className?: string;
};
export const FormattedDate = ({
date,
includeTime,
className,
}: FormattedDateProps) => {
const formattedDate = formatUtils.formatDate(date);
const formattedDateWithTime = formatUtils.formatDateWithTime(date, false);
const fullDateTimeTooltip = formatUtils.formatDateWithTime(date, true);
return (
<Tooltip>
<TooltipTrigger asChild>
<span className={className}>
{includeTime ? formattedDateWithTime : formattedDate}
</span>
</TooltipTrigger>
<TooltipContent>
<p>{fullDateTimeTooltip}</p>
</TooltipContent>
</Tooltip>
);
};