summaryrefslogtreecommitdiff
path: root/addons/gamification/views/badge.xml
diff options
context:
space:
mode:
authorCedric Snauwaert <csn@openerp.com>2014-09-02 11:22:11 +0200
committerFabien Meghazi <fme@openerp.com>2014-11-05 15:27:59 +0100
commitef886aed2f4c7d9b78123d1cd980a899bf6b20ea (patch)
tree0a51dc66a9ac12d898116721cc990882eb4588b0 /addons/gamification/views/badge.xml
parent893d7fa8643192aec817478effa44c55d3c1ebc4 (diff)
[FIX] web: remove datejs and replace by momentjs
Diffstat (limited to 'addons/gamification/views/badge.xml')
-rw-r--r--addons/gamification/views/badge.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/gamification/views/badge.xml b/addons/gamification/views/badge.xml
index 315ccd68308..0dde08086fc 100644
--- a/addons/gamification/views/badge.xml
+++ b/addons/gamification/views/badge.xml
@@ -181,7 +181,7 @@
<t t-if="record.comment.raw_value">
<p><em><field name="comment"/></em></p>
</t>
- <p>Granted by <a type="open"><field name="create_uid" /></a> the <t t-esc="record.create_date.raw_value.toString(Date.CultureInfo.formatPatterns.shortDate)" /></p>
+ <p>Granted by <a type="open"><field name="create_uid" /></a> the <t t-esc="moment(record.create_date.raw_value).format('L')" /></p>
</div>
</div>
</t>