Compare commits

...
2 Commits
Author SHA1 Message Date
Alex Turchyn 182f593d86 fix form previous day date bug 2023-08-01 00:26:37 +03:00
Alex Turchyn 7f4548e5c7 use company name for email friendly from name 2023-07-31 22:53:49 +03:00
2 changed files with 2 additions and 2 deletions

No files matched your search

+1 -1
View File
@@ -212,7 +212,7 @@ export default {
},
formattedDate () {
if (this.field.type === 'date' && this.modelValue) {
return new Intl.DateTimeFormat([], { year: 'numeric', month: 'long', day: 'numeric' }).format(new Date(this.modelValue))
return new Intl.DateTimeFormat([], { year: 'numeric', month: 'long', day: 'numeric', timeZone: 'UTC' }).format(new Date(this.modelValue))
} else {
return ''
}
+1 -1
View File
@@ -25,7 +25,7 @@ module ActionMailerConfigsInterceptor
port: email_configs.value['port'],
tls: email_configs.value['port'].to_s == '465')
message.from = email_configs.value['from_email']
message.from = "#{email_configs.account.name} <#{email_configs.value['from_email']}>"
else
message.delivery_method(:test)
end