Main menu

Forum


× Help Forum English

[FIXED in 2.1] Date separator problem

  • nonsavant
  • Topic Author
  • New Member
  • New Member
More
11 years 2 months ago - 11 years 2 months ago #2726 by nonsavant
[FIXED in 2.1] Date separator problem was created by 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
Attachments:
Last edit: 11 years 2 months ago by Lyr!C.

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 2 months ago #2728 by Lyr!C
Replied by Lyr!C on topic 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) .

File Attachment:

Please Log in or Create an account to join the conversation.

  • nonsavant
  • Topic Author
  • New Member
  • New Member
More
11 years 2 months ago #2729 by nonsavant
Replied by nonsavant on topic 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.

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 2 months ago #2730 by Lyr!C
Replied by Lyr!C on topic Date separator problem

nonsavant wrote: 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) .

File Attachment:

Please Log in or Create an account to join the conversation.

  • nonsavant
  • Topic Author
  • New Member
  • New Member
More
11 years 2 months ago #2731 by nonsavant
Replied by nonsavant on topic Date separator problem
Hi,

I don't see that option in mod_iccalendar - please see attachment.
Attachments:

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 2 months ago - 11 years 2 months ago #2732 by Lyr!C
Replied by Lyr!C on topic 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) .

File Attachment:

Last edit: 11 years 2 months ago by Lyr!C.

Please Log in or Create an account to join the conversation.

  • nonsavant
  • Topic Author
  • New Member
  • New Member
More
11 years 2 months ago #2733 by nonsavant
Replied by nonsavant on topic Date separator problem
Thank you for your help. Great support!

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 2 months ago #2734 by Lyr!C
Replied by Lyr!C on topic 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) .

File Attachment:

Please Log in or Create an account to join the conversation.

Moderators: Lyr!C
Time to create page: 0.245 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new