Main menu

Forum


× Help Forum English

Problem with date at thumbs

  • Wuz
  • Autore della discussione
  • Junior Member
  • Junior Member
Di più
11 Anni 3 Mesi fa - 11 Anni 3 Mesi fa #10545 da Wuz
Problem with date at thumbs è stato creato da Wuz
Hi @ all,

I have some problems with the image of an event. The date of the event is displayed with the ending "UTC00". I know, that UTC is the universal time, but I want to remove this ending from my pictures. Is this possible?

Wuz
Allegati:
Ultima Modifica 11 Anni 3 Mesi fa da Wuz.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 3 Mesi fa #10550 da Lyr!C
Risposta da Lyr!C al topic Problem with date at thumbs
Hello,

Is it possible to have an online link, and to know the language set for frontend ?
It's the first time i see such an issue...

Thanks!
Cyril

Latest version : iCagenda 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
Don't forget to have your Joomla!® up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Wuz
  • Autore della discussione
  • Junior Member
  • Junior Member
Di più
11 Anni 3 Mesi fa #10554 da Wuz
Risposta da Wuz al topic Problem with date at thumbs
Yeah, here is my online-link: entwicklung.handball-waldkraiburg.de/index.php/kalender

I'm using the german language pack.

Can you help me? :)

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 3 Mesi fa #10558 da Lyr!C
Risposta da Lyr!C al topic Problem with date at thumbs
Hi,

This is a weird issue, as i'm not able to reproduce it, and don't know how this one could happen...

Could you test by editing a line in the file : ROOT/administrator/components/com_icagenda/utilities/events/events.php

Line 193 :
Replace this :
$year_date			= JHtml::date($date, 'Y');
by this :
$year_date			= JHtml::date($date, 'Y', null);

Regards,
Cyril

Latest version : iCagenda 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
Don't forget to have your Joomla!® up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 3 Mesi fa #10561 da Lyr!C
Risposta da Lyr!C al topic Problem with date at thumbs
Or, directly install the version attached ;-)

Latest version : iCagenda 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
Don't forget to have your Joomla!® up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Allegati:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Wuz
  • Autore della discussione
  • Junior Member
  • Junior Member
Di più
11 Anni 3 Mesi fa #10563 da Wuz
Risposta da Wuz al topic Problem with date at thumbs
Hi,

that does not solve the problem :D

But I have solved it. Line 194 is commented out, i refused this and all works fine :)

Wuz

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 3 Mesi fa #10565 da Lyr!C
Risposta da Lyr!C al topic Problem with date at thumbs

Wuz ha scritto: Hi,

that does not solve the problem :D

But I have solved it. Line 194 is commented out, i refused this and all works fine :)

Wuz

Ok, so the issue is elsewhere...

THe line you have uncommented is a basic php date function (not taking language or timezone into account).
I have changed it to JHtml::date to use Joomla core function, and so, to be able to convert it in the current culture (for example, in Jalali calendar used with Persian language, JHtml::date will convert to the correct year, but not the commented line).

If you have the timezone when using Joomla core function to format a date, you must have an issue somewhere...
If you display year in the date format selected option, do you have the same issue ?

Best Regards,
Cyril

Latest version : iCagenda 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
Don't forget to have your Joomla!® up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.049 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new