Skip to content

Commit

Permalink
fix signing date format
Browse files Browse the repository at this point in the history
  • Loading branch information
omohokcoj authored and AlexBTurchyn committed Oct 14, 2024
1 parent 1ad8d91 commit 9adbfc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/submitters/submit_values.rb
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def replace_default_variables(value, attrs, submission, with_time: false)
end
when 'date'
if with_time
I18n.l(Time.current.in_time_zone(submission.account.timezone).to_date)
Time.current.in_time_zone(submission.account.timezone).to_date.to_s
else
e
end
Expand Down

0 comments on commit 9adbfc5

Please sign in to comment.