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:
parent
87d04c1b7b
commit
4e6e3feee5
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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) : '';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user