@sap/cds 7.9.4 → 7.9.5
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/CHANGELOG.md
CHANGED
package/libx/_runtime/cds-services/adapter/odata-v4/okra/odata-commons/validator/ValueValidator.js
CHANGED
|
@@ -4,7 +4,7 @@ const { big } = require('@sap/cds-foss')
|
|
|
4
4
|
const { isInvalidBase64string } = require('../../../../../../common/utils/binary')
|
|
5
5
|
const IllegalArgumentError = require('../errors/IllegalArgumentError')
|
|
6
6
|
|
|
7
|
-
const YEAR_RE = '(?:-?(?:(?:(?:0\\d{3})|(?:[1-9]\\d{3
|
|
7
|
+
const YEAR_RE = '(?:-?(?:(?:(?:0\\d{3})|(?:[1-9]\\d{3}))))'
|
|
8
8
|
const MONTH_RE = '(?:(?:0[1-9])|(?:1[012]))'
|
|
9
9
|
const DAY_RE = '(?:(?:0[1-9])|(?:[12]\\d)|(?:3[01]))'
|
|
10
10
|
const HOURS_RE = '(?:(?:[01]\\d)|(?:2[0-3]))'
|