From ef12ae303577b2cc1967a08b341962f0ef1ffc5a Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Thu, 21 Apr 2016 09:00:17 -0400 Subject: [PATCH 1/2] Test fix for christ-h's french language date abbreviations breaking the old library display --- templates/webapps/galaxy/library/common/browse_library.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/webapps/galaxy/library/common/browse_library.mako b/templates/webapps/galaxy/library/common/browse_library.mako index f113c8f12f5..a9668388f5e 100644 --- a/templates/webapps/galaxy/library/common/browse_library.mako +++ b/templates/webapps/galaxy/library/common/browse_library.mako @@ -300,7 +300,7 @@ ${render_library_item_info( ldda )} ${ldda.extension | h} % endif - ${ldda.create_time.strftime( trans.app.config.pretty_datetime_format ) | h} + ${util.unicodify(ldda.create_time.strftime( trans.app.config.pretty_datetime_format )) | h} ${ldda.get_size( nice_size=True ) | h} <% From 7e93d462392952d27d414ba87d2dd406c9a60be1 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Thu, 21 Apr 2016 09:08:38 -0400 Subject: [PATCH 2/2] Another location where the non-ascii month was breaking display. --- templates/webapps/galaxy/library/common/ldda_info.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/webapps/galaxy/library/common/ldda_info.mako b/templates/webapps/galaxy/library/common/ldda_info.mako index d17cf5d53d6..87a515e4223 100644 --- a/templates/webapps/galaxy/library/common/ldda_info.mako +++ b/templates/webapps/galaxy/library/common/ldda_info.mako @@ -101,7 +101,7 @@
- ${ldda.create_time.strftime( trans.app.config.pretty_datetime_format ) | h} + ${util.unicodify(ldda.create_time.strftime( trans.app.config.pretty_datetime_format )) | h}