Page 1 of 1

Question about time

Posted: Wed Apr 13, 2016 6:52 am
by OCReactive
I don't know why there are different times in a single ticket
Image

Is there an easy way to fix this?

Thanks

Re: Question about time

Posted: Thu Apr 14, 2016 1:00 pm
by mkoch227
I bet the issue is due to not properly handling "SQL time" vs regular PHP time. I will compare my code with the default HESK code to make sure that they are the same (chances are I missed something :lol: )

Re: Question about time

Posted: Tue Apr 19, 2016 9:19 am
by OCReactive
Thanks!

Re: Question about time

Posted: Thu Apr 28, 2016 1:52 am
by mkoch227
Ok there was a bug. You can notice this by looking at "Created" on the top part of the ticket, and "created" on the left sidebar. As you can probably tell, they're different! I made the fix for 2.6.0; however if you want to apply it immediately, check out https://gitlab.com/mike-koch/Mods-for-H ... 9fb4112982 to see what was changed.

Re: Question about time

Posted: Thu Apr 28, 2016 3:04 pm
by OCReactive
Hi,

I made the changes in my php file but it gets the same difference in time.

I tryed in the demo page and also gets different times :(

Anyway this isn't an important bug for my needs, so I will wait for the 2.6.0 update