Incorrect Time stamp

Topics brought up by the TimeTrex open source community.
Post Reply
najam
Posts: 7
Joined: Tue Dec 03, 2013 4:47 am

Incorrect Time stamp

Post by najam »

Timetrex version 7.3.7
Server OS Debian GNU/Linux 6.0.5
PHP PHP 5.3.3-7+squeeze19
DB MySQL

client details:

OS Ubuntu 12.04
Browser Google Chrome

While trying to add the missed punch out for yesterday I'm always getting this error and unable to add missed punch.
"Invalid time stamp"
This happened as soon as I try to change the time in Time text box on punch screen.

We were using time trex standard edition 5.3.3 previously and that was great. The only issue we moved to version 7.3.7 is
that the previous version was discarded and we have no option. Flash is not a good idea.

(Pleae see the attached image)
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Incorrect Time stamp

Post by shaunw »

Please see this FAQ and follow the instructions to enabling logging so you can send us a copy of the log.
http://forums.timetrex.com/viewtopic.php?f=6&t=89
najam
Posts: 7
Joined: Tue Dec 03, 2013 4:47 am

Re: Incorrect Time stamp

Post by najam »

Please find the attached timetrex log file.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Incorrect Time stamp

Post by shaunw »

For some reason according to the log file the input TimeTrex is seeing for the time of the punch is corrupted:

Code: Select all

Parsing Date Failed! Returning FALSE: 2014-05-27  ^?7:^?^?55 ^?M

Code: Select all

Parsing Date Failed! Returning FALSE: 2014-05-27  ^?7:^?^? AM

Code: Select all

Parsing Date Failed! Returning FALSE: 2014-05-27  ^?7:10 AM

Code: Select all

Parsing Date Failed! Returning FALSE: 2014-05-27  ^?6:^?^?52 PM
It seems to have ^? riddled throughout the time value... I wonder if it has something to do with character encoding or locale issues... Does it fail 100% of the time, whenever you try to edit or create a punch? Have you tried highlighting all text in the time input field with your mouse then typing in the time you want, does that work?

Could you try it on our public demo to see if it works there?
http://demo.timetrex.com/interface/flex ... sword=demo
najam
Posts: 7
Joined: Tue Dec 03, 2013 4:47 am

Re: Incorrect Time stamp

Post by najam »

On you public demo it was working fine no issue at all.

The problem has been fixed by selecting the entry and then adding a new value. This is the only workaround right now I adopted.

Thanks
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Incorrect Time stamp

Post by shaunw »

We just noticed a similar issue on a few workstations within our office here, what version of Google Chrome are you using?

Have you tried FireFox instead to see if the issue occurs with it?
Post Reply