[FIX] im_livechat: date in website_livechat

The lang of the date used in website_livechat must be
the lang of the user as in "Instant Messaging".

opw:633746
This commit is contained in:
Goffin Simon 2015-05-03 11:37:52 +02:00
parent 4a9deb8be3
commit ac8b663d12
1 changed files with 2 additions and 1 deletions

View File

@ -108,7 +108,8 @@
<!-- Bundle of Librairies of the Bus, Chat, Livechat -->
<template id="internal_lib" name="Librairies of the Livechat">
<!-- Datejs -->
<script type="text/javascript" src="/web/static/lib/datejs/globalization/en-US.js"></script>
<script type="text/javascript" t-att-src="'/web/static/lib/datejs/globalization/%s.js'
% (request.session.context.get('lang').replace('_','-'))"></script>
<script type="text/javascript" src="/web/static/lib/datejs/core.js"></script>
<script type="text/javascript" src="/web/static/lib/datejs/parser.js"></script>
<script type="text/javascript" src="/web/static/lib/datejs/sugarpak.js"></script>