Squirrelmail -- timestamp bug

"[email protected]" <[email protected]>
Newsgroups gmane.mail.squirrelmail.user,gmane.mail.squirrelmail.devel
Message-ID <4c684e8521937669abfe6fcf3997031a.squirrel__20281.1029086419$1555760771$gmane$org@webmail.dipl-ing-kessler.de>
Hi all,

it seems that I have found a little bug.

Therefore I've done a short recording for demonstration, see here:

    https://www.dipl-ing-kessler.de/tmp/squirrel-mail_bug_1.mp4

When creating a new email and saving it as a draft, then every second time
you're doing this, the timestamp in the header and shown in the draft
window shown is not plain text, but UNIX time instead. Meaning:

You save as draft ==> Timestamp OK / plaintext.
You save as draft ==> Timestamp is UNIX format (seconds after 1970-01-01).
You save as draft ==> Timestamp OK / plaintext.
You save as draft ==> Timestamp is UNIX format (seconds after 1970-01-01).
...

Same when sending emails.

Besides this, the timestamp shown in received emails seems to be the
"sent" timestamp and not the timstamp received. So, I recognized this bug
at all.

It occurs in the stable version, 1.4.23/svn and in the developer version.

System details:
Squirrel-Mail 1.4.23 svn as well as 1.5 developer
php 7.0
Exim 4.90_1
Cyrus 2.5.11

I don't know where to start searching the malfunction.
Can someone please have a look to that? -- Thanks in acvance!

Best regards,

Markus


-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.