Main menu

Forum


× Help Forum English

[FIXED in 2.1] Date separator problem

  • nonsavant
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 11 ans 2 mois - il y a 11 ans 2 mois #2726 par nonsavant
[FIXED in 2.1] Date separator problem a été créé par nonsavant
Hi,

When I enter a date separator, the date is not properly displayed. There are unwanted spaces displayed in the date. For example, I want to use the '.' character, and the date is displayed:

12 .3. 2013

Obviously this should be corrected in an upcoming release, but could you please tell me where I can fix it myself? Many thanks in advance for your help (and can I also say, it's a really nice component!)

Pete.

p.s. the attachment is a screen shot of the problem
Pièces jointes :
Dernière édition: il y a 11 ans 2 mois par Lyr!C.

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 11 ans 2 mois #2728 par Lyr!C
Réponse de Lyr!C sur le sujet Date separator problem
Yes, will be fixed in next release... ;)

In file icmodel.php,

Removed the space in this line :
if($k!=0)$format.=' '.$val;

and should be :
if($k!=0)$format.=''.$val;

:)

Latest version : iCagenda 3.9.3
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.

  • nonsavant
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 11 ans 2 mois #2729 par nonsavant
Réponse de nonsavant sur le sujet Date separator problem
Merci beaucoup :)

Is it also possible to add more date formats to the calendar module tooltip? I would like the format to match the component, but unfortunately there is no option using the '.' character.

Thank you.

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 11 ans 2 mois #2730 par Lyr!C
Réponse de Lyr!C sur le sujet Date separator problem

nonsavant écrit: Merci beaucoup :)

Is it also possible to add more date formats to the calendar module tooltip? I would like the format to match the component, but unfortunately there is no option using the '.' character.

Thank you.


This option will be developpe soon (was just added in component, but will do the same for module, maybe in March)
But you can have 12.03.2013 currently in module options ;)

Latest version : iCagenda 3.9.3
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.

  • nonsavant
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 11 ans 2 mois #2731 par nonsavant
Réponse de nonsavant sur le sujet Date separator problem
Hi,

I don't see that option in mod_iccalendar - please see attachment.
Pièces jointes :

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 11 ans 2 mois - il y a 11 ans 2 mois #2732 par Lyr!C
Réponse de Lyr!C sur le sujet Date separator problem
No sorry ! :whistle:

Not the . but - and /

What you can do, waiting the new option, is to edit the mod_iccalendar.xml file, in mod_iccalendar folder.
To install the module with change, you just have to zip the mod_iccalendar folder, no need to zip all iCagenda folder. You get a mod_iccalendar.zip you can install in joomla extension manager. ;)

example of edit of first option :
            		<option value="%d.%m.%Y">d.m.Y - [ 25.11.2012 ]</option>
            		<option value="%d-%m-%y">d-m-y - [ 25-11-12 ]</option>
            		<option value="%Y-%m-%d">Y-m-d - [ 2012-11-25 ]</option>
            		<option value="%Y-%b-%d">Y-m-d - [ 2012-Nov-25 ]</option>
            		<option value="%d/%m/%Y">d/m/Y - [ 25/11/2012 ]</option>
            		<option value="%d/%m/%y">d/m/y - [ 25/11/12 ]</option>
            		<option value="%Y/%m/%d">Y/m/d - [ 2012/11/25 ]</option>
            		<option value="%Y/%b/%d">Y-m-d - [ 2012/Nov/25 ]</option>
            		<option value="%d %B %Y">d B Y - [ 25 November 2012 ]</option>
            		<option value="%d %b %Y">d b Y - [ 25 Nov 2012 ]</option>
            		<option value="%A, %d %B %Y">A, d B Y - [ dimanche, 25 novembre 2012 ]</option>
            		<option value="%a %d %b %Y">a d b Y - [ dim 25 nov 2012 ]</option>
            		<option value="%A, %B %d, %Y">A, B d, Y - [ Sunday, November 25, 2012 ]</option>
            		<option value="%a, %b %d, %Y">a, b d, Y - [ Sun, Nov 25, 2012 ]</option>

Latest version : iCagenda 3.9.3
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é :

Dernière édition: il y a 11 ans 2 mois par Lyr!C.

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

  • nonsavant
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 11 ans 2 mois #2733 par nonsavant
Réponse de nonsavant sur le sujet Date separator problem
Thank you for your help. Great support!

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 11 ans 2 mois #2734 par Lyr!C
Réponse de Lyr!C sur le sujet Date separator problem
When new module with the new options available, you will may have to re-param this option, as the system will be different... ;)

(but i will try to add a transfert function to prevent this...)

Latest version : iCagenda 3.9.3
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.178 secondes

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new