Files
openfoodnetwork/app/helpers/shop_mail_helper.rb
Kristina Lim ad8b120e48 Extract format for order cycle closing in emails
Using a helper for this, but this can be changed to look up a
translation key.
2018-09-01 23:46:08 +08:00

9 lines
189 B
Ruby

module ShopMailHelper
# Long datetime format string used in emails to customers
#
# Example: "Fri Aug 31 @ 11:00PM"
def mail_long_datetime_format
"%a %b %d @ %l:%M%p"
end
end