Hi
Thanks for the module !
there is a problem with translated days & months strings that are injected to the page as script
the error occurs if the translated string contains the ' char ,
i found this in days , and months

so i added a small function that replace ' with \'

function t_string_safe($str){  
  return str_replace("'" ,"\'",t($str));
}

and called it insted of t()

I am sorry but recently i have problems with PATCHing so i just add my module here
the problem is in lines 297-316

CommentFileSizeAuthor
worldclock.module.txt25.17 KBavior

Comments

flevour’s picture

Priority: Normal » Critical
flevour’s picture

Assigned: Unassigned » flevour
Status: Active » Fixed

Committed a fix to 5-dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

flevour’s picture

Version: 5.x-1.3 » 6.x-1.x-dev

Issue applied to 6.x-1-x. It's now fixed in dev.