neoPix/attest-fr-covid

Time format is broken. 07:24 instead of 19:24

Closed this issue · 3 comments

@neoPix Thanks for the repo !

I believe, the time format should be HHmm instead of hhmmA if you want it to stick with the original certificate generator.

await page.type('#field-heuresortie', day(when).format('hhmmA'));

Hi,

thanks for the feedback,

I'm currently looking into this. Here is the display I get on my laptop, probably linked to my en environment configuration.

Screenshot from 2020-11-10 10-49-53

Found a way to circumvent this format issue: 2db40cf

Will update the NPM package soon.