Skip to content
Snippets Groups Projects
Unverified Commit c5a2d440 authored by graywolf336's avatar graywolf336
Browse files

Make the smarsh time format more aligned with the example provided.

parent eb3af89b
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,8 @@ Package.onUse(function(api) {
'ecmascript',
'rocketchat:lib',
'underscore',
'momentjs:moment'
'mrt:moment',
'mrt:moment-timezone'
]);
api.addFiles('lib/rocketchat.js', [ 'client', 'server' ]);
......
......@@ -41,7 +41,7 @@ RocketChat.smarsh.generateEml = () => {
//The timestamp
rows.push(open20td);
rows.push(message.ts.toISOString());
rows.push(moment(message.ts).tz('America/Los_Angeles').format('YYYY-MM-DD HH-mm-ss z'));
rows.push(closetd);
//The sender
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment