generated from autonomic-cooperative/astro-payload-template
Create base layouts with basic blocks
This commit is contained in:
4
astro/src/utils/date.ts
Normal file
4
astro/src/utils/date.ts
Normal file
@ -0,0 +1,4 @@
|
||||
export const getCurrentYear = (): number => {
|
||||
const currentYear = new Date().getFullYear();
|
||||
return currentYear;
|
||||
}
|
Reference in New Issue
Block a user