Add support for server-specific timezone and date format settings

This commit is contained in:
Dragory 2020-08-10 00:24:06 +03:00
parent ddbbc543c2
commit c67a1df11d
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
51 changed files with 326 additions and 168 deletions

View file

@ -21,7 +21,7 @@ export const FollowCmd = locateUserCommand({
async run({ message: msg, args, pluginData }) {
const time = args.duration || 10 * MINUTES;
const alertTime = moment().add(time, "millisecond");
const alertTime = moment.utc().add(time, "millisecond");
const body = args.reminder || "None";
const active = args.active || false;