add month titles on birthdays list

This commit is contained in:
Romulus21
2023-12-31 16:07:34 +01:00
parent 0a0a897e11
commit 7ea2508185
3 changed files with 33 additions and 19 deletions

View File

@@ -9,3 +9,5 @@ export const arrayRange = (end: number, start = 0) => {
export const pad = (number: number, pad = 2, char = '0') => {
return (new Array(pad).join(char) + number).slice(-pad)
}
export const MONTHS = ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre']