mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 11:01:56 +02:00
9 lines
273 B
TypeScript
9 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)}</>
|
|
}
|
|
)
|