unoconv / unoserver

MIT License
552 stars 77 forks source link

xlsx to pdf convert - consider the local date format #66

Closed jankokert closed 1 year ago

jankokert commented 1 year ago

I managed to convert an xlsx file to pdf on my remote Ubuntu machine (no UI). (Great tool btw!)

But one minor issue remains: In the xlsx file I defined a border that contains the current date (&d). When I open the file in LibreOffice the date is correctly displayed in the local format (German, 17.03.2023). However, on the server where I'm running unovoncert, the date in the pdf file is rendered in the American format. (03/17/2023) I checked the timezone settings on the server with timedatectl and I got Europe/Berlin (which is correct!)

Thank you very much in advance!

regebro commented 1 year ago

Can you give me an example file, because I don't know how to replicate this?

Anyway, timezones are not involved in dates, this is locale settings, rather.