From a4e9d6915b4fb4ea5bcd028d1a034f62313a743e Mon Sep 17 00:00:00 2001 From: Nic Wolfe <nic@wolfeden.ca> Date: Fri, 28 Jan 2011 22:54:25 -0700 Subject: [PATCH] Fix a crash issue on coming eps for non-english locales --- data/interfaces/default/comingEpisodes.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/interfaces/default/comingEpisodes.tmpl b/data/interfaces/default/comingEpisodes.tmpl index bb6d78ccf..da74c796f 100644 --- a/data/interfaces/default/comingEpisodes.tmpl +++ b/data/interfaces/default/comingEpisodes.tmpl @@ -219,7 +219,7 @@ Custom #set $show_div = "ep_listing listing_toofar" #set $too_late_header = True #elif $cur_ep_airdate >= $today and $cur_ep_airdate < $next_week: - <br /><h1 class="day">$datetime.date.fromordinal($cur_ep_airdate).strftime("%A")</h1> + <br /><h1 class="day">$datetime.date.fromordinal($cur_ep_airdate).strftime("%A").decode('utf-8')</h1> #if $cur_ep_airdate == $today: #set $show_div = "ep_listing listing_current" #else: -- GitLab