diff --git a/js/lib/resthub/handlebars-helpers.js b/js/lib/resthub/handlebars-helpers.js index 12344a0..dce4512 100644 --- a/js/lib/resthub/handlebars-helpers.js +++ b/js/lib/resthub/handlebars-helpers.js @@ -178,6 +178,9 @@ define(['handlebars-orig', 'moment', 'underscore-string'], function(Handlebars, } momentDate = moment(date, inputPattern); } + else if(typeof(date) === 'number') { + momentDate = moment(date); + } else { return date; }