1. sbettocchi
  2. Features Request
  3. Tuesday, June 17 2014, 01:52 PM
Hello,

thanks again for having solved the problem of non-registration of events.

Now I have a problem with the dates that are displayed in English.

in the file: view.ctp to rows 126 and 127 of the php code is this:

<? php echo $ this-> Time-> format ('l, F j, Y', $ event ['Event'] ['from'])?> <? php echo $ event ['Event'] ['from_time ']?> -
<? php echo $ this-> Time-> format ('l, F j, Y', $ event ['Event'] ['to'])?> <? php echo $ event ['Event'] ['to_time ']?>


It would be possible to change it in accordance with the user's language? I am Italian and I like to read the date in Italian.

Thanks for your cooperation!

This is a great product.
Accepted Answer
admin Accepted Answer
Admin
Hi,
try to replace this:
<?php echo $this->Time->format('l, F j, Y', $ event ['Event'] ['from'])?>

with
<?php echo $this->Time->format($event['Event']['from'],"%A, %e %B %Y")?>


There are other position to change, we fix in next release.
  1. more than a month ago
  2. Features Request
  3. # Permalink


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.