mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2025-07-29 05:00:06 +02:00
8 lines
273 B
TypeScript
8 lines
273 B
TypeScript
import { memo } from 'react'
|
|
import { formatTimeBasedOnYear } from '@/features/utils/format-date'
|
|
|
|
export const FormatTimeBasedOnYear = memo<{ date: string | number | Date }>(
|
|
function FormatTimeBasedOnYear({ date }) {
|
|
return <>{formatTimeBasedOnYear(date)}</>
|
|
}
|
|
)
|