Files
evidencija-rezija/app/lib/format.ts

5 lines
123 B
TypeScript

export const formatYearMonth = (year: number, month:number): string => {
return `${year}-${month<10?"0":""}${month}`;
}