TECHS-Technological-Solutions / ocpi

Python implementation of the Open Charge Point Interface (OCPI)
MIT License
49 stars 15 forks source link

Datetime validation issue #42

Closed statiqantriksh closed 1 year ago

statiqantriksh commented 1 year ago

@HamedAkhavan The Datetime type in data_types throws error for timestamp "2023-02-06T12:27:31.276Z" which is a valid time stamp type specified in the documentation

techs-invalid-timestamp

HamedAkhavan commented 1 year ago

Hi @statiqantriksh, thanks for reporting this issue. currently military time is not supported, we'll fix it in the next release. How are you testing your implementation? do you have another OCPI server/client available?

statiqantriksh commented 1 year ago

@HamedAkhavan Hey we have a database with values as per the standard and the adapters handle the validation mostly and for the issue mentioned above I had to refer to the documentation. Some of our emsp's also report the issue ( acting as client )

The idea for having a test client sounds good, please let me know your thoughts for collaboration.

statiqantriksh commented 1 year ago

@HamedAkhavan I think is issue was missed in the recent commit.