"Undefined method `gsub!'" when executes a Ruby filter to change timezone

Hi Badger,

I tried to use "timezone" in Date filter, my issue is that the input date is already in GMT and I need this value with my localtime to extract the "hour of day" and "day of week".

I mean the opposite function, I read other topics where it says the only way is using Ruby code to do that.

Thanks for any advise

PD. I fixed the functions 'stfrtime' and I have the same error