Update send_email.lua (#5489)

Changed MM to MI, otherwise times would show as XX:09:XX. Appears that MM is not a valid value.
This commit is contained in:
Joseph
2020-09-26 18:07:36 -04:00
committed by GitHub
parent 53c3b9a7b0
commit 3934cc4810

View File

@@ -80,7 +80,7 @@
end
--get voicemail message details
local sql = [[SELECT to_char(timezone(:time_zone, to_timestamp(created_epoch)), 'Day DD Mon YYYY HH:MM:SS PM') as message_date, *
local sql = [[SELECT to_char(timezone(:time_zone, to_timestamp(created_epoch)), 'Day DD Mon YYYY HH:MI:SS PM') as message_date, *
FROM v_voicemail_messages
WHERE domain_uuid = :domain_uuid
AND voicemail_message_uuid = :uuid]]