Fix console error

This commit is contained in:
Hillel Coren 2018-03-09 12:53:05 +02:00
parent 5d2871e259
commit 70ee8bcc84
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -431,7 +431,7 @@ NINJA.signatureDate = function(invoice) {
NINJA.formatDateTime = function(date, account) {
var format = account.datetime_format ? account.datetime_format.format_moment : 'LLL';
var timezone = account.timezone ? account.timezone.name : '{{ DEFAULT_TIMEZONE }}';
var timezone = account.timezone ? account.timezone.name : 'US/Eastern';
return date ? moment.utc(date).tz(timezone).format(format) : '';
}