teitbite wrote:
Hi
It's taken from google. So if You want to have full names please make it simple by replacying the shorts to full by using:
- Code: Select all
"day" => str_replace( array( 'Su' ), array( 'Sunday' ), $node->day_of_week[0]->attributes('data') ),
It's just an example. But I think You will know what I mean.
I don't
-kidding
Thank you again Teitbite for your support - excellent as always
If anyone (in the future) would like to implement this change.
1. open helper.php file and go at line 245
2. replace
- Code: Select all
"day" => $node->day_of_week[0]->attributes('data'),
with
- Code: Select all
"day" => str_replace( array( 'Lu','Ma','Mi','Jo','Vi','Sâ','Du'), array( 'Luni','Marţi','Miercuri','Joi','Vineri','Sâmbătă','Duminică'), $node->day_of_week[0]->attributes('data') ),
Please note that the above code is designated for the romanian week days.
Future information(about str_replace function) -
http://php.net/manual/en/function.str-replace.php - if needed.
Regards,
Krebs