@defra-fish/business-rules-lib 1.31.0-rc.9 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/util/ages.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defra-fish/business-rules-lib",
|
|
3
|
-
"version": "1.31.0
|
|
3
|
+
"version": "1.31.0",
|
|
4
4
|
"description": "Shared business rules for the rod licensing digital services",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"moment": "^2.29.1",
|
|
38
38
|
"uuid": "^8.3.2"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "efb64cae878278d5da4a6b3a1c3fd574ec900874"
|
|
41
41
|
}
|
package/src/util/ages.js
CHANGED
|
@@ -7,7 +7,7 @@ export const JUNIOR_MAX_AGE = 16
|
|
|
7
7
|
/** The minimum age at which an angler becomes entitled to a senior concession */
|
|
8
8
|
export const SENIOR_MIN_AGE = 65
|
|
9
9
|
export const NEW_SENIOR_MIN_AGE = 66
|
|
10
|
-
export const SENIOR_AGE_CHANGE_DATE = '2023-04-01'
|
|
10
|
+
export const SENIOR_AGE_CHANGE_DATE = '2023-04-01T00:00:00.000+01:00'
|
|
11
11
|
const changeoverMoment = moment(SENIOR_AGE_CHANGE_DATE)
|
|
12
12
|
|
|
13
13
|
/**
|