Skip to content

Commit e1174f8

Browse files
authored
Project date allow also midnight (#990)
fixes saving at midgnight
1 parent b00f9d5 commit e1174f8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

api/specs/webserver/v0/components/schemas/project-v0.0.1-converted.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ properties:
3535
type: string
3636
description: project creation date
3737
pattern: >-
38-
\d{4}-(12|11|10|0?[1-9])-(31|30|[0-2]?\d)T(2[0-3]|1\d|0?[1-9])(:(\d|[0-5]\d)){2}(\.\d{3})?Z
38+
\d{4}-(12|11|10|0?[1-9])-(31|30|[0-2]?\d)T(2[0-3]|1\d|0?[0-9])(:(\d|[0-5]\d)){2}(\.\d{3})?Z
3939
example:
4040
- '2018-07-01T11:13:43Z'
4141
lastChangeDate:
4242
type: string
4343
description: last save date
4444
pattern: >-
45-
\d{4}-(12|11|10|0?[1-9])-(31|30|[0-2]?\d)T(2[0-3]|1\d|0?[1-9])(:(\d|[0-5]\d)){2}(\.\d{3})?Z
45+
\d{4}-(12|11|10|0?[1-9])-(31|30|[0-2]?\d)T(2[0-3]|1\d|0?[0-9])(:(\d|[0-5]\d)){2}(\.\d{3})?Z
4646
example:
4747
- '2018-07-01T11:13:43Z'
4848
thumbnail:

api/specs/webserver/v0/components/schemas/project-v0.0.1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@
4545
"creationDate": {
4646
"type": "string",
4747
"description": "project creation date",
48-
"pattern": "\\d{4}-(12|11|10|0?[1-9])-(31|30|[0-2]?\\d)T(2[0-3]|1\\d|0?[1-9])(:(\\d|[0-5]\\d)){2}(\\.\\d{3})?Z",
48+
"pattern": "\\d{4}-(12|11|10|0?[1-9])-(31|30|[0-2]?\\d)T(2[0-3]|1\\d|0?[0-9])(:(\\d|[0-5]\\d)){2}(\\.\\d{3})?Z",
4949
"examples": [
5050
"2018-07-01T11:13:43Z"
5151
]
5252
},
5353
"lastChangeDate": {
5454
"type": "string",
5555
"description": "last save date",
56-
"pattern": "\\d{4}-(12|11|10|0?[1-9])-(31|30|[0-2]?\\d)T(2[0-3]|1\\d|0?[1-9])(:(\\d|[0-5]\\d)){2}(\\.\\d{3})?Z",
56+
"pattern": "\\d{4}-(12|11|10|0?[1-9])-(31|30|[0-2]?\\d)T(2[0-3]|1\\d|0?[0-9])(:(\\d|[0-5]\\d)){2}(\\.\\d{3})?Z",
5757
"examples": [
5858
"2018-07-01T11:13:43Z"
5959
]

0 commit comments

Comments
 (0)