mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
fix time format
This commit is contained in:
1 parent
0e6aab0e8d
commit
3033faff0d
1 file changed
+1
-1
+1
-1
@@ -32,7 +32,7 @@ module TimeUtils
|
||||
end
|
||||
|
||||
def format_date_string(string, format, locale)
|
||||
date = Date.parse(string)
|
||||
date = Date.parse(string.to_s)
|
||||
|
||||
format ||= locale.to_s.ends_with?('US') ? DEFAULT_DATE_FORMAT_US : DEFAULT_DATE_FORMAT
|
||||
|
||||
|
||||
Reference in new issue
Block a user