Skip to content

Commit

Permalink
[ES DateTime] Add Spanish spec tests for reported range issues (#2040)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grey0202 authored Feb 18, 2020
1 parent 2a09c82 commit ce44290
Showing 1 changed file with 87 additions and 0 deletions.
87 changes: 87 additions & 0 deletions Specs/DateTime/Spanish/DateTimeModel.json
Original file line number Diff line number Diff line change
Expand Up @@ -597,5 +597,92 @@
}
}
]
},
{
"Input": "entre el 2 de febrero y el 5 de marzo",
"Context": {
"ReferenceDateTime": "2020-02-01T00:00:00"
},
"NotSupported": "javascript, python, java",
"Results": [
{
"Text": "entre el 2 de febrero y el 5 de marzo",
"Start": 0,
"End": 36,
"TypeName": "datetimeV2.daterange",
"Resolution": {
"values": [
{
"timex": "(XXXX-02-02,XXXX-03-05,P32D)",
"type": "daterange",
"start": "2019-02-02",
"end": "2019-03-05"
},
{
"timex": "(XXXX-02-02,XXXX-03-05,P32D)",
"type": "daterange",
"start": "2020-02-02",
"end": "2020-03-05"
}
]
}
}
]
},
{
"Input": "entre el 2 de febrero y 5 de marzo",
"Context": {
"ReferenceDateTime": "2020-02-05T00:00:00"
},
"NotSupported": "javascript, python, java",
"Results": [
{
"Text": "entre el 2 de febrero y 5 de marzo",
"Start": 0,
"End": 33,
"TypeName": "datetimeV2.daterange",
"Resolution": {
"values": [
{
"timex": "(XXXX-02-02,XXXX-03-05,P32D)",
"type": "daterange",
"start": "2020-02-02",
"end": "2020-03-05"
}
]
}
}
]
},
{
"Input": "entre el 1 de diciembre y el 4 de febrero",
"Context": {
"ReferenceDateTime": "2020-02-05T00:00:00"
},
"NotSupported": "javascript, python, java",
"Results": [
{
"Text": "entre el 1 de diciembre y el 4 de febrero",
"Start": 0,
"End": 40,
"TypeName": "datetimeV2.daterange",
"Resolution": {
"values": [
{
"timex": "(XXXX-12-01,XXXX-02-04,P65D)",
"type": "daterange",
"start": "2019-12-01",
"end": "2020-02-04"
},
{
"timex": "(XXXX-12-01,XXXX-02-04,P65D)",
"type": "daterange",
"start": "2020-12-01",
"end": "2021-02-04"
}
]
}
}
]
}
]

0 comments on commit ce44290

Please sign in to comment.