Email Date/Time is Wrong!

Any major updates coming, Upcoming Software, General Security advice for others and topics alike Post them here so other users can chat with you.
User avatar
Techie007
Posts: 29
Joined: Sat Sep 24, 2016 3:13 pm

Re: Email Date/Time is Wrong!

Post by Techie007 »

Me too, on all my IP2M-841 cameras, except I know exactly why its happening. Hopefully the following information is enough to finally get the bug fixed!

Below is the issue. The timestamp in the email and the attached photos is fine. It's the actual send date of the email that is wrong. This date determines where in time the email will appear in our Inbox:

Image

Looking into the raw email data, the cause is rather obvious—the camera is writing the wrong timezone into the email Date header:

Image

There are two viable solutions:

1: Write the correct timezone into the email. In my case, it should read -0400, as I am on Eastern Daylight Time. This would of course need to change to -0500 when Daylight Savings Time ends in November (I already have the camera configured to make the change automatically).
--Pros:
----Technically the right way to do it.
----If you're on vacation/overseas, motion alerts will come in with realtime (adjusted) times.
--Cons:
----Harder to implement.
----Past emails will see a one-hour date offset as they cross the Daylight Savings Time boundary.
----If you look at the emails outside of the timezone local to the camera (i.e. on vacation), the email date will once again not agree with the local datestamps printed inside the email. But at least it will be correct instead of based on China time.

2: Write no timezone, just the time.
--Pros:
----Very easy to implement.
----Email date will always agree with the datestamps inside the email as no timezone compensation will be applied to the date—it will always be considered local.
--Cons:
----Technically in violation of RFC 2822, where the timezone isn't optional. However, in my testing, it works reliably, whereas the spec's specified -0000 timezone for no timezone compensation did not work reliably in all email clients. Thunderbird for instance interprets timezone -0000 (no timezone) as timezone +0000 (GMT), but behaves correctly when the timezone is omitted entirely.

This is a very simple bug. Amcrest, how soon do you think it can be fixed? The current firmware just blindly writes a hardcoded "+0800" timezone. I'm sure your coding team could at least find that text and remove it from the email module, which would bring the second solution to realization.
Last edited by Techie007 on Fri Oct 21, 2016 3:30 pm, edited 1 time in total.
Melvin
Site Admin
Posts: 2210
Joined: Wed Oct 14, 2015 2:20 pm

Re: Email Date/Time is Wrong!

Post by Melvin »

Hello Techie007 ,

We appreciate you taking your time on this. I will keep our R&D team posted on this.
Can't find your answer on the forum? Try our Knowledge Base! https://amcrest.zendesk.com/hc/en-us

Image
spamoni
Posts: 6
Joined: Mon Jan 02, 2017 3:15 pm

Re: Email Date/Time is Wrong!

Post by spamoni »

I have the same issue with My Camera. I Chatted and Called Tech Support and was told to do a factory reset. I am reluctant on doing that at this time.

Seeing as there was a response indicating that there may be a firmware issue, something I suspected as well - I was wondering if I should do the factory reset?

I am providing this image so you can see it as well --

The Body of the email shows the correct date and time of 1/2/2017 12:49:06 (although, not in the date format I set). However the Date on the email shows 1/1/2017 11:49pm
Screen Shot 2017-01-02 at 12.50.13 PM.png
Screen Shot 2017-01-02 at 12.50.13 PM.png (77.52 KiB) Viewed 754 times
I am also attaching the settings I have on the camera to show I am set correctly:
Screen Shot 2017-01-02 at 4.01.45 PM.png
Screen Shot 2017-01-02 at 4.01.45 PM.png (140.59 KiB) Viewed 754 times
2 Issues I see:

1. The Date / Time of the email is not correct
2. The format in the body of the email does not match the format which I selected as indicated above.

The imprint on the video image in the email does show correctly including the format

Thanks
fmwhit
Posts: 4
Joined: Fri Jan 20, 2017 11:15 am

Re: Email Date/Time is Wrong!

Post by fmwhit »

I am having the same issue with the new IP3M-941B.. I called several times and Amcrest acts like its a new issue and only with the newer camera(IP3M-941). Finally they admitted today that there is one other person having the same problem. I will give them a couple of days but I suggest that people start giving bad reviews on Amazon.

Fred
wpetering
Posts: 1
Joined: Thu Feb 09, 2017 12:38 pm

Re: Email Date/Time is Wrong!

Post by wpetering »

FTP storage too! I have an IP2M-841B. I just upgraded to the latest FW to try to fix snapshots being attached to an email.(still doesn't work). I turned on FTP storage to my local linux server. The time stamp is +5 hours than the current time. I'm on eastern time. My linux server is the current time.
Post Reply