Mails showing wrong timestamp despite a correct "Date: " value in the header
-
There are limits to how many any non-standard inputs can be handled.
I just had a look at the source, and AFAICT the date processing done by Vivaldi's email (which is written in Javascript) appears to be done by the Javascript Date object.
In Vivaldi that is implemented by the Chromium V8 Javascript engine here
I'll note that this is code we will NEVER touch!
Essentially, if you want invalid dates parsed you will have to convince the Ecmascript/Javascript standardization group to change the definition of the Date object to allow other date formats.
-
@yngve
got it. I have sent and received more than 10 mails since last synchronization and none of them rendered a wrong timestamp.I'm not quite expecting a resolution in Vivaldi, for the reasons you mention, hence I will have to look for a workaround (e.g. separating all mails concerned in a folder, and in case needed looking for the real date in the source).
Thanks for looking into it,
-
@TCR1963 I am reasonably sure that the emails with those invalid date headers are from a limited number of senders who, as I mentioned above, are probably using "homegrown" email code, using custom date/time generator functions, in at least one case using one that is localized to the local language. They may even have fixed the issue in newer versions of their code.
Once imported those emails will gradually recede into the older emails, as newer emails arrive. Petty soon they will only be visible if you look at the emails from specific senders, recipients, or lists.