mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 15:22:33 -05:00
adjust templates, add timezone and locale
This commit is contained in:
1 parent
d0c7d449d5
commit
c904d51302
47 files changed
+331
-171
No files matched your search
@@ -135,7 +135,7 @@ module Submissions
|
||||
height - (area['y'] * height))
|
||||
end
|
||||
else
|
||||
value = I18n.l(Date.parse(value)) if field['type'] == 'date'
|
||||
value = I18n.l(Date.parse(value), format: :long) if field['type'] == 'date'
|
||||
|
||||
text = HexaPDF::Layout::TextFragment.create(Array.wrap(value).join(', '), font: pdf.fonts.add(FONT_NAME),
|
||||
font_size: FONT_SIZE)
|
||||
|
||||
Reference in new issue
Block a user