Files
landing/src/lib/copyright-year.ts

8 lines
230 B
TypeScript

/**
* Returns the current calendar year (for testing and any server use).
* The client-side footer year is updated by static/copyright-year.js.
*/
export function getCurrentYear(): number {
return new Date().getFullYear();
}