feat: add format date(#40)
Some checks failed
it-academy/dry-wash-pl/pipeline/pr-main There was a failure building this commit

This commit is contained in:
2024-11-24 12:08:45 +03:00
parent 920f4440e9
commit acd39b1e32
8 changed files with 61 additions and 26 deletions

View File

@@ -4,13 +4,31 @@
{
"id": "masters1",
"name": "Иван Иванов",
"schedule": ["15:00 - 16:30", "17:00 - 18:00"],
"schedule": [ {
"id": "order1",
"startWashTime": "2024-11-24T10:30:00.000Z",
"endWashTime": "2024-11-24T16:30:00.000Z"
},
{
"id": "order2",
"startWashTime": "2024-11-24T11:30:00.000Z",
"endWashTime": "2024-11-24T17:30:00.000Z"
}],
"phone": "+7 900 123 45 67"
},
{
"id": "masters12",
"name": "Иван Иванов",
"schedule": ["15:00 - 16:30", "17:00 - 18:00"],
"schedule": [ {
"id": "order1",
"startWashTime": "2024-11-24T10:30:00.000Z",
"endWashTime": "2024-11-24T16:30:00.000Z"
},
{
"id": "order2",
"startWashTime": "2024-11-24T11:30:00.000Z",
"endWashTime": "2024-11-24T17:30:00.000Z"
}],
"phone": "+7 900 123 45 67"
}
]

View File

@@ -4,29 +4,22 @@
{
"id": "order1",
"carNumber": "A123BC",
"washTime": "10:30",
"orderDate": "2024-10-31",
"startWashTime": "2024-11-24T10:30:00.000Z",
"endWashTime": "2024-11-24T16:30:00.000Z",
"orderDate": "2024-11-24T08:41:46.366Z",
"status": "progress",
"phone": "79001234563",
"location": "Казань, ул. Баумана, 1"
},
{
"id": "order2",
"carNumber": "A123BC",
"washTime": "10:30",
"orderDate": "2024-10-31",
"carNumber": "A245BC",
"startWashTime": "2024-11-24T11:30:00.000Z",
"endWashTime": "2024-11-24T17:30:00.000Z",
"orderDate": "2024-11-24T07:40:46.366Z",
"status": "progress",
"phone": "79001234568",
"location": "Казань, ул. Баумана, 1"
},
{
"id": "order3",
"carNumber": "A123BC",
"washTime": "10:30",
"orderDate": "2024-10-31",
"status": "progress",
"phone": "79001234569",
"location": "Казань, ул. Баумана, 1"
"phone": "79001234567",
"location": "Казань, ул. Баумана, 43"
}
]
}