From 7bd5c7511d3e798f98ee9746387eb1e7d74b29a7 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 21 Jan 2014 22:20:18 +0100 Subject: [PATCH] Small code layout improvement. --- app/assets/javascripts/app/lib/app_post/i18n.js.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/lib/app_post/i18n.js.coffee b/app/assets/javascripts/app/lib/app_post/i18n.js.coffee index b19e5e23e..211766cba 100644 --- a/app/assets/javascripts/app/lib/app_post/i18n.js.coffee +++ b/app/assets/javascripts/app/lib/app_post/i18n.js.coffee @@ -174,7 +174,7 @@ class _i18nSingleton extends Spine.Module s = ( num, digits ) -> while num.toString().length < digits num = "0" + num - return num + num timeObject = new Date(time) d = timeObject.getDate()