Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / Bruce Support / Publish date increment automatically on every save

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

×

Notice

The forum is in read only mode.

×
End of Forum > Moving to ticket system (01 Jan 2014)

The forum is now in read-only mode.

To send us support request, please open a tickets > Support > Tickets Support

We have tested the ticket system during the last 3 months and we are sastified with it. So the forum is just for history now.

Publish date increment automatically on every save

2 years 10 months ago #20972 by unitedonline
Every time I press save when i am editing a banner in the component section, the "publish up" date gets incremented by 3 hours on its own. Perhaps it has something to do with date parsing and GMT time. Any ideas?

Thank you!
Attachments:
2 years 10 months ago #20984 by loic
Hello,

In the configuration of Joomla, you can select a server Timezone.
It affects the date fields.

You can change it to UTC if you don't want that modification.

Best regards.
2 years 10 months ago #20989 by unitedonline
Hello,

I've tested with both UTC and local timezone. Same behavior. Both times the publish up date gets changed to +3 hours on every save.
2 years 10 months ago #21130 by loic
Hello,

Sorry for the late reply.

The problem is caused by Joomla, it fix the time difference by doing that.
I don't know why even when the timzone is set to UTC, you still have that problem.

Did you try other components ? Do you have the same problem ?

Best regards.
2 years 10 months ago #21132 by unitedonline
Hello,

After some digging I found the following:

You are using the following xml specification for the field
<field name="publish_up" type="calendar"
			label="COM_BRUCE_FIELD_PUBLISH_UP_LABEL" description="COM_BRUCE_FIELD_PUBLISH_UP_DESC"
			class="inputbox" format="%Y-%m-%d %H:%M:%S" size="22"
			filter="user_utc" />

According to the joomla documentation: docs.joomla.org/Calendar_form_field_type

"The calendar form field type provides a text box for entry of a date."


So it appears that this field type does not support time.

The only solution would be to create a custom datetime field.

Thank you!
2 years 10 months ago #21140 by loic
Hello,

Thanks for the information, I will see what we can do.

Best regards.
Time to create page: 0.191 seconds
Powered by Kunena Forum