curl -XPOST http://0.0.0.0:8000/parse --data ‘locale=en_US&text=Total Flights by status arrived from India and to T1 on 5th October 2022?’ gives below out put
[{“body”:“1 on 5th October 2022”,“start”:52,“value”:{“values”:[{“value”:“2022-10-05T01:00:00.000-07:00”,“grain”:“hour”,“type”:“value”},{“value”:“2022-10-05T13:00:00.000-07:00”,“grain”:“hour”,“type”:“value”}],“value”:“2022-10-05T01:00:00.000-07:00”,“grain”:“hour”,“type”:“value”},“end”:73,“dim”:“time”,“latent”:false}]
It is treating the 1 as hour