Reactive-Resume icon indicating copy to clipboard operation
Reactive-Resume copied to clipboard

[BUG] Other dates are not working as intended

Open TheJordanDev opened this issue 2 years ago • 1 comments

Describe the bug Last month I posted a similar issue about how the date of birth was displayed as a day before when downloading PDFs, this issue is now gone (thanks) but it seems like more dates are actually affected by this problem.

Product Flavor

  • [X] Managed (https://rxresu.me)
  • [ ] Self Hosted

To Reproduce When I enter a date for a certificate the preview is fine but when downloading the PDF the date is one day before. Again, I'm in France if it helps

Expected behavior The date should be the same in the preview and in the pdf

Screenshots image

Desktop (please complete the following information):

  • OS:
  • Browser
  • Version

Additional context

TheJordanDev avatar Nov 26 '22 16:11 TheJordanDev

Want to point out that this happens to both the dates on each section as well as date of birth for me

nopol10 avatar Dec 27 '22 02:12 nopol10

bump

TheJordanDev avatar Jan 03 '23 14:01 TheJordanDev

This issue should be fixed as of v3.6.17.

AmruthPillai avatar Jan 03 '23 16:01 AmruthPillai

Yeah, about that, at least for me, when using the website it is still off when rendering the PDF.

PDF: PDF

Website: Website

The birthdate is fine though.

Just so you have all informations: I'm in France. Like the last issue I posted said, it may be because of timezone differences when my browser shows me the dates on the page it is in UTC+1, whereas the server where the render is made (I assume the US) is in UTC-5 so this might be why.

Thanks for taking time for this. Have a great day/night.

TheJordanDev avatar Jan 08 '23 23:01 TheJordanDev

Okay so, after some investigation I found out that I had to rewrite all my dates in inputs to get them to work when rendering.

TheJordanDev avatar Jan 08 '23 23:01 TheJordanDev