×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Time format

Time format 11 years 7 months ago #18121

  • Christian
  • Christian's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 53
  • Thank you received: 0
Hello,

(Old booking form)
Times of events put in by 24H format are displayed in 12 hour format (where do I adjust ?)

Times of events put in at front end (by organizer) are displayed +1 or +2 hours ???

grtz
Christian

Time format 11 years 7 months ago #18122

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Christian,

in the layout settings are some settings according to time and date formats. For 24 hour format you have to change the lowercase h to a higher case H for example. (e.g H:i)

Times are adjusted to the users timezone (or if not logged in on joomla configurations) and are saved automatically in UTC.

Best regards,

Yves

Time format 11 years 7 months ago #18123

  • Christian
  • Christian's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 53
  • Thank you received: 0
Thanks Yves for the info, It works ... but ...

When you insert the times in UTC they are diplayed correctly..

However when you edit the times as organiser the are not put back to UTC, They stay in local time..
So when you save again the times are augmented with 2 hours

It happens every time you "save" the event

:( :( :(

Now I call it a (sun)day
:)

Time format 11 years 7 months ago #18125

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Christian,
Forgive me for being skeptical about that, but we already had people reporting this and each time it turned out that something is wrong on their server and not with the component :)

It doesn't matter if you edit the times as organiser or as super user or as another group allowed to modify the event. The time should be displayed in your local time and it should be saved in UTC.

Could you please do a step by step test.
Create a new event -> look what is the time in the db. Then go ahead and edit this event -> look at the db. Is the time in UTC or is changed.

Also make sure that the user that you use for editing has the correct time zone.

Actually it would be also very good if you could test the same thing with com_content. If it is working properly for com_content it should work in matukio as well.

Regards,
Daniel

Time format 11 years 7 months ago #18126

  • Christian
  • Christian's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 53
  • Thank you received: 0
Hi Daniel,

I tested the com_content and find no error there,
Joomla (server) is in timezone Brussels, The user is in time zone Brussels
Eding an article in frontened or backend does not affect the "time" after savening

Editing an event (matukio) in the backend does not affect the time when saving

It is only when you edit an event in the frontend (done by the organizer) that each time you "save", 2 hours are added to the time. (I use the old booking form ! :( :( :(

It is not critical, since you can edit the event in the backend

grtz
Christian

Time format 11 years 7 months ago #18165

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Christian,

just released a new release candidate which should fix the timezone bug and some other bugs in the frontend :)

Best regards,

Yves

Time format 11 years 7 months ago #18166

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556

Yves Hoppe wrote: Hi Christian,

just released a new release candidate (rc2 - gitf1da65e) which should fix the timezone bug and some other bugs in the frontend :)

Best regards,

Yves

The following user(s) said Thank You: Christian

Time format 11 years 7 months ago #18169

  • Christian
  • Christian's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 53
  • Thank you received: 0
Hi Yves

Thanks for the timezone error
If I can ask ...(propose ??? :( )

If you have an order of rewriting the old code (old booking form)
Frontend
Make it possible for an organizer to add, edit en delete the booking of a user

Anyway, I can help myself
but when I want to change a booking I have to do it directly in the dbase

Also You gave me a way to come back after "add booking" or "save changes" to higher level (display of booking)
Can you give me the same link for "after cancel booking"

anyway .. thanks ...
Christian

Time format 11 years 7 months ago #18172

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Christian,

Make it possible for an organizer to add, edit en delete the booking of a user


this is still on my todo-list for 2.1.3 and the only reason i have not released it yet. Deleting is already possible ;)

Also You gave me a way to come back after "add booking" or "save changes" to higher level (display of booking)
Can you give me the same link for "after cancel booking"


Okay going to integrate this there too.

Yves
The following user(s) said Thank You: Christian
  • Page:
  • 1
Time to create page: 0.132 seconds