1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00

Fix console error

This commit is contained in:
Hillel Coren 2018-03-09 12:51:24 +02:00
parent 87d04c1b7b
commit 4e6e3feee5
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) : '';
}