Don't format empty time

This commit is contained in:
Cédric Krier committed 2015-03-13 13:39:21 +01:00
1 parent 720f7a762e
commit 072e8d57fa
1 file changed
+3
+3
View File
@@ -143,6 +143,9 @@
};
Sao.common.format_time = function(format, date) {
if (!date) {
return '';
}
return date.format(Sao.common.moment_format(format));
};