Skip to content
Snippets Groups Projects
Commit 3092ac79 authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Revert "Shift year change to April"

This reverts commit 8d334421.
parent b2a5c0a1
No related branches found
No related tags found
No related merge requests found
Pipeline #19990 passed
......@@ -79,10 +79,10 @@ export const revaluationName: string | undefined =
const today = new Date()
export const year =
today.getFullYear() + (today.getMonth() > 3 /* => After April */ ? 1 : 0)
today.getFullYear() + (today.getMonth() > 2 /* => After March */ ? 1 : 0)
export const yearPLF =
today.getFullYear() +
(revaluationName !== undefined && today.getMonth() > 3 /* => After April */
(revaluationName !== undefined && today.getMonth() > 2 /* => After March */
? 1
: 0)
export const date = `${year}-01-01`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment