Main menu

Forum


× Help Forum English

Problem with date at thumbs

  • Wuz
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 6 mois - il y a 9 ans 6 mois #10545 par Wuz
Problem with date at thumbs a été créé par 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
Pièces jointes :
Dernière édition: il y a 9 ans 6 mois par Wuz.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 9 ans 6 mois #10550 par Lyr!C
Réponse de Lyr!C sur le sujet 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 3.9.8
We recommend every user to keep iCagenda updated.
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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • Wuz
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 6 mois #10554 par Wuz
Réponse de Wuz sur le sujet 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? :)

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 9 ans 6 mois #10558 par Lyr!C
Réponse de Lyr!C sur le sujet 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 3.9.8
We recommend every user to keep iCagenda updated.
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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 9 ans 6 mois #10561 par Lyr!C
Réponse de Lyr!C sur le sujet Problem with date at thumbs
Or, directly install the version attached ;-)

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
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) .

Fichier attaché :

Pièces jointes :

Connexion ou Créer un compte pour participer à la conversation.

  • Wuz
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 6 mois #10563 par Wuz
Réponse de Wuz sur le sujet 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

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 9 ans 6 mois #10565 par Lyr!C
Réponse de Lyr!C sur le sujet Problem with date at thumbs

Wuz écrit: 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 3.9.8
We recommend every user to keep iCagenda updated.
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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.234 secondes

 

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new