Page 1 of 1

Incorrect Time stamp

Posted: Wed May 28, 2014 9:30 pm
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)

Re: Incorrect Time stamp

Posted: Thu May 29, 2014 8:35 am
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

Re: Incorrect Time stamp

Posted: Fri May 30, 2014 12:10 am
by najam
Please find the attached timetrex log file.

Re: Incorrect Time stamp

Posted: Fri May 30, 2014 8:28 am
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

Re: Incorrect Time stamp

Posted: Thu Jun 05, 2014 9:15 pm
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

Re: Incorrect Time stamp

Posted: Mon Jun 09, 2014 1:14 pm
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?