Question about time

Forum dedicated to Mods for HESK created by Mike Koch

Moderator: mkoch227

Post Reply
OCReactive
Posts: 45
Joined: Wed Apr 01, 2015 10:33 am

Question about time

Post 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
Óscar
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: Question about time

Post 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: )
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
OCReactive
Posts: 45
Joined: Wed Apr 01, 2015 10:33 am

Re: Question about time

Post by OCReactive »

Thanks!
Óscar
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: Question about time

Post 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.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
OCReactive
Posts: 45
Joined: Wed Apr 01, 2015 10:33 am

Re: Question about time

Post 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
Óscar
Post Reply