# File lib/fusioncharts_helper.rb, line 184 def add_cache_to_data_url(str_data_url) cache_buster= Time.now.strftime('%d_%m_%y_%H_%M_%S') if(str_data_url.index('?')==nil) str_data_url = str_data_url + "?FCCurrTime=" + cache_buster.to_s else str_data_url = str_data_url + "&FCCurrTime=" + cache_buster.to_s end logger.info("The URL after appending time is " + str_data_url) return str_data_url end