Sackgesicht VIP
Total posts: 1,636
15 Май 2013 01:27

It seems there are is an internal time problem with Cobalt 8.

My server's date is set correct, the joomla server time zone setting and user timezone as well.

If i edit a record, the checkout time is be wrong, it is is modified by the time difference from the server timezone.

I noticed this already with the status log.

Now when i checked the automated cron checkin, it will immediately checkin all records since the 30 min time interval becomes irrelevant.

Btw,

regarding the checkin function:

Everyone who knows that a system was done with cobalt can checkin the records anytime he wants through the url call. How about other more dangerous controller functions?

Последние изменения: 02 Март 2014


Sergey
Total posts: 13,748
24 Фев 2014 06:24
  1. try to edit com_cobalt/models/forms/record.xml and find ctime element and change filter attribute from user_utc to utc. I have to check that.

  2. Try to turn off start from field on the form. And see what it does.


hwdevteam VIP
Total posts: 76
25 Фев 2014 08:25

Hi Sergey. I worked it out based on your last comment.

/components/com_cobalt/models/forms/record.xml

Changed:

To:

Result? Perfect! No more time travel. The other time fields below this one had format and filter parms, looks like ctime was missing them.

Please add this fix to the code in the next release for us weird timezone reliant people ! :)

Cheers,

Pete


Sergey
Total posts: 13,748
25 Фев 2014 08:35

But that is this way long time ago. That is why I asked you to change attribute. because it is there.

When you last updated Cobalt?

Работает на Cobalt