mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2024-10-30 01:08:47 +00:00
Replace Moment with Luxon, closes #183
Big thanks to @steveschmitt for the majority of the work.
This commit is contained in:
commit
404c4f5c07
61
package-lock.json
generated
61
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "fuse-angular",
|
"name": "fuse-angular",
|
||||||
"version": "15.1.0",
|
"version": "15.2.0",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "fuse-angular",
|
"name": "fuse-angular",
|
||||||
"version": "15.1.0",
|
"version": "15.2.0",
|
||||||
"license": "https://themeforest.net/licenses/standard",
|
"license": "https://themeforest.net/licenses/standard",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "14.1.3",
|
"@angular/animations": "14.1.3",
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
"@angular/core": "14.1.3",
|
"@angular/core": "14.1.3",
|
||||||
"@angular/forms": "14.1.3",
|
"@angular/forms": "14.1.3",
|
||||||
"@angular/material": "14.1.3",
|
"@angular/material": "14.1.3",
|
||||||
"@angular/material-moment-adapter": "14.1.3",
|
"@angular/material-luxon-adapter": "14.1.3",
|
||||||
"@angular/platform-browser": "14.1.3",
|
"@angular/platform-browser": "14.1.3",
|
||||||
"@angular/platform-browser-dynamic": "14.1.3",
|
"@angular/platform-browser-dynamic": "14.1.3",
|
||||||
"@angular/router": "14.1.3",
|
"@angular/router": "14.1.3",
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
"crypto-js": "3.3.0",
|
"crypto-js": "3.3.0",
|
||||||
"highlight.js": "11.6.0",
|
"highlight.js": "11.6.0",
|
||||||
"lodash-es": "4.17.21",
|
"lodash-es": "4.17.21",
|
||||||
"moment": "2.29.4",
|
"luxon": "3.0.1",
|
||||||
"ng-apexcharts": "1.7.1",
|
"ng-apexcharts": "1.7.1",
|
||||||
"ngx-markdown": "14.0.1",
|
"ngx-markdown": "14.0.1",
|
||||||
"ngx-quill": "18.0.0",
|
"ngx-quill": "18.0.0",
|
||||||
|
@ -52,6 +52,7 @@
|
||||||
"@types/jasmine": "4.0.3",
|
"@types/jasmine": "4.0.3",
|
||||||
"@types/lodash": "4.14.184",
|
"@types/lodash": "4.14.184",
|
||||||
"@types/lodash-es": "4.17.6",
|
"@types/lodash-es": "4.17.6",
|
||||||
|
"@types/luxon": "3.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "5.33.1",
|
"@typescript-eslint/eslint-plugin": "5.33.1",
|
||||||
"@typescript-eslint/parser": "5.33.1",
|
"@typescript-eslint/parser": "5.33.1",
|
||||||
"autoprefixer": "10.4.8",
|
"autoprefixer": "10.4.8",
|
||||||
|
@ -722,17 +723,17 @@
|
||||||
"rxjs": "^6.5.3 || ^7.4.0"
|
"rxjs": "^6.5.3 || ^7.4.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@angular/material-moment-adapter": {
|
"node_modules/@angular/material-luxon-adapter": {
|
||||||
"version": "14.1.3",
|
"version": "14.1.3",
|
||||||
"resolved": "https://registry.npmjs.org/@angular/material-moment-adapter/-/material-moment-adapter-14.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/@angular/material-luxon-adapter/-/material-luxon-adapter-14.1.3.tgz",
|
||||||
"integrity": "sha512-2zmkCR2oiCdTTaTSL4o6rNdDNPrzEjBbOwYq1/BTQEhX8hCM1K927P4hPk3H5+9w10g/N8DFnTol62muSuEDEA==",
|
"integrity": "sha512-jfL1dF+SB+XkfddrtRg4W80jCUqOFazOvfy1gMtziJIn9TYeLdyqtTosM3Ubbc60YKA9FT7awYajSjfN9bg9xw==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"tslib": "^2.3.0"
|
"tslib": "^2.3.0"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@angular/core": "^14.0.0 || ^15.0.0",
|
"@angular/core": "^14.0.0 || ^15.0.0",
|
||||||
"@angular/material": "14.1.3",
|
"@angular/material": "14.1.3",
|
||||||
"moment": "^2.18.1"
|
"luxon": "^2.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@angular/platform-browser": {
|
"node_modules/@angular/platform-browser": {
|
||||||
|
@ -3464,6 +3465,12 @@
|
||||||
"@types/lodash": "*"
|
"@types/lodash": "*"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@types/luxon": {
|
||||||
|
"version": "3.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@types/luxon/-/luxon-3.0.0.tgz",
|
||||||
|
"integrity": "sha512-Lx+EZoJxUKw4dp8uei9XiUVNlgkYmax5+ovqt6Xf3LzJOnWhlfJw/jLBmqfGVwOP/pDr4HT8bI1WtxK0IChMLw==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"node_modules/@types/marked": {
|
"node_modules/@types/marked": {
|
||||||
"version": "4.0.3",
|
"version": "4.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/@types/marked/-/marked-4.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/@types/marked/-/marked-4.0.3.tgz",
|
||||||
|
@ -10595,6 +10602,14 @@
|
||||||
"node": ">=10"
|
"node": ">=10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/luxon": {
|
||||||
|
"version": "3.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/luxon/-/luxon-3.0.1.tgz",
|
||||||
|
"integrity": "sha512-hF3kv0e5gwHQZKz4wtm4c+inDtyc7elkanAsBq+fundaCdUBNJB1dHEGUZIM6SfSBUlbVFduPwEtNjFK8wLtcw==",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=12"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/magic-string": {
|
"node_modules/magic-string": {
|
||||||
"version": "0.26.2",
|
"version": "0.26.2",
|
||||||
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.26.2.tgz",
|
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.26.2.tgz",
|
||||||
|
@ -10984,14 +10999,6 @@
|
||||||
"node": ">=10"
|
"node": ">=10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/moment": {
|
|
||||||
"version": "2.29.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz",
|
|
||||||
"integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==",
|
|
||||||
"engines": {
|
|
||||||
"node": "*"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/moment-mini": {
|
"node_modules/moment-mini": {
|
||||||
"version": "2.24.0",
|
"version": "2.24.0",
|
||||||
"resolved": "https://registry.npmjs.org/moment-mini/-/moment-mini-2.24.0.tgz",
|
"resolved": "https://registry.npmjs.org/moment-mini/-/moment-mini-2.24.0.tgz",
|
||||||
|
@ -16291,10 +16298,10 @@
|
||||||
"tslib": "^2.3.0"
|
"tslib": "^2.3.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@angular/material-moment-adapter": {
|
"@angular/material-luxon-adapter": {
|
||||||
"version": "14.1.3",
|
"version": "14.1.3",
|
||||||
"resolved": "https://registry.npmjs.org/@angular/material-moment-adapter/-/material-moment-adapter-14.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/@angular/material-luxon-adapter/-/material-luxon-adapter-14.1.3.tgz",
|
||||||
"integrity": "sha512-2zmkCR2oiCdTTaTSL4o6rNdDNPrzEjBbOwYq1/BTQEhX8hCM1K927P4hPk3H5+9w10g/N8DFnTol62muSuEDEA==",
|
"integrity": "sha512-jfL1dF+SB+XkfddrtRg4W80jCUqOFazOvfy1gMtziJIn9TYeLdyqtTosM3Ubbc60YKA9FT7awYajSjfN9bg9xw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"tslib": "^2.3.0"
|
"tslib": "^2.3.0"
|
||||||
}
|
}
|
||||||
|
@ -18241,6 +18248,12 @@
|
||||||
"@types/lodash": "*"
|
"@types/lodash": "*"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@types/luxon": {
|
||||||
|
"version": "3.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@types/luxon/-/luxon-3.0.0.tgz",
|
||||||
|
"integrity": "sha512-Lx+EZoJxUKw4dp8uei9XiUVNlgkYmax5+ovqt6Xf3LzJOnWhlfJw/jLBmqfGVwOP/pDr4HT8bI1WtxK0IChMLw==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"@types/marked": {
|
"@types/marked": {
|
||||||
"version": "4.0.3",
|
"version": "4.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/@types/marked/-/marked-4.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/@types/marked/-/marked-4.0.3.tgz",
|
||||||
|
@ -23536,6 +23549,11 @@
|
||||||
"yallist": "^4.0.0"
|
"yallist": "^4.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"luxon": {
|
||||||
|
"version": "3.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/luxon/-/luxon-3.0.1.tgz",
|
||||||
|
"integrity": "sha512-hF3kv0e5gwHQZKz4wtm4c+inDtyc7elkanAsBq+fundaCdUBNJB1dHEGUZIM6SfSBUlbVFduPwEtNjFK8wLtcw=="
|
||||||
|
},
|
||||||
"magic-string": {
|
"magic-string": {
|
||||||
"version": "0.26.2",
|
"version": "0.26.2",
|
||||||
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.26.2.tgz",
|
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.26.2.tgz",
|
||||||
|
@ -23825,11 +23843,6 @@
|
||||||
"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
|
"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"moment": {
|
|
||||||
"version": "2.29.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz",
|
|
||||||
"integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w=="
|
|
||||||
},
|
|
||||||
"moment-mini": {
|
"moment-mini": {
|
||||||
"version": "2.24.0",
|
"version": "2.24.0",
|
||||||
"resolved": "https://registry.npmjs.org/moment-mini/-/moment-mini-2.24.0.tgz",
|
"resolved": "https://registry.npmjs.org/moment-mini/-/moment-mini-2.24.0.tgz",
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
"@angular/core": "14.1.3",
|
"@angular/core": "14.1.3",
|
||||||
"@angular/forms": "14.1.3",
|
"@angular/forms": "14.1.3",
|
||||||
"@angular/material": "14.1.3",
|
"@angular/material": "14.1.3",
|
||||||
"@angular/material-moment-adapter": "14.1.3",
|
"@angular/material-luxon-adapter": "14.1.3",
|
||||||
"@angular/platform-browser": "14.1.3",
|
"@angular/platform-browser": "14.1.3",
|
||||||
"@angular/platform-browser-dynamic": "14.1.3",
|
"@angular/platform-browser-dynamic": "14.1.3",
|
||||||
"@angular/router": "14.1.3",
|
"@angular/router": "14.1.3",
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
"crypto-js": "3.3.0",
|
"crypto-js": "3.3.0",
|
||||||
"highlight.js": "11.6.0",
|
"highlight.js": "11.6.0",
|
||||||
"lodash-es": "4.17.21",
|
"lodash-es": "4.17.21",
|
||||||
"moment": "2.29.4",
|
"luxon": "3.0.1",
|
||||||
"ng-apexcharts": "1.7.1",
|
"ng-apexcharts": "1.7.1",
|
||||||
"ngx-markdown": "14.0.1",
|
"ngx-markdown": "14.0.1",
|
||||||
"ngx-quill": "18.0.0",
|
"ngx-quill": "18.0.0",
|
||||||
|
@ -57,6 +57,7 @@
|
||||||
"@types/jasmine": "4.0.3",
|
"@types/jasmine": "4.0.3",
|
||||||
"@types/lodash": "4.14.184",
|
"@types/lodash": "4.14.184",
|
||||||
"@types/lodash-es": "4.17.6",
|
"@types/lodash-es": "4.17.6",
|
||||||
|
"@types/luxon": "3.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "5.33.1",
|
"@typescript-eslint/eslint-plugin": "5.33.1",
|
||||||
"@typescript-eslint/parser": "5.33.1",
|
"@typescript-eslint/parser": "5.33.1",
|
||||||
"autoprefixer": "10.4.8",
|
"autoprefixer": "10.4.8",
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
import * as moment from 'moment';
|
import { DateTime } from 'luxon';
|
||||||
|
|
||||||
|
/* Get the current instant */
|
||||||
|
const now = DateTime.now();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Attachments are common and will be filled from here
|
* Attachments are common and will be filled from here
|
||||||
|
@ -32,175 +35,175 @@ export const messages = [
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: 'me',
|
contactId: 'me',
|
||||||
value : 'Hi!',
|
value : 'Hi!',
|
||||||
createdAt: moment().subtract(1, 'week').hour(18).minute(56).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 18, minute: 56}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : 'eb82cf4b-fa93-4bf4-a88a-99e987ddb7ea',
|
id : 'eb82cf4b-fa93-4bf4-a88a-99e987ddb7ea',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: '',
|
contactId: '',
|
||||||
value : 'Hey, dude!',
|
value : 'Hey, dude!',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(4).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 4}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '3cf9b2a6-ae54-47db-97b2-ee139a8f84e5',
|
id : '3cf9b2a6-ae54-47db-97b2-ee139a8f84e5',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: '',
|
contactId: '',
|
||||||
value : 'Long time no see.',
|
value : 'Long time no see.',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(4).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 4}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '2ab91b0f-fafb-45f3-88df-7efaff29134b',
|
id : '2ab91b0f-fafb-45f3-88df-7efaff29134b',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: 'me',
|
contactId: 'me',
|
||||||
value : 'Yeah, man... Things were quite busy for me and my family.',
|
value : 'Yeah, man... Things were quite busy for me and my family.',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(6).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 6}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '10e81481-378f-49ac-b06b-7c59dcc639ae',
|
id : '10e81481-378f-49ac-b06b-7c59dcc639ae',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: '',
|
contactId: '',
|
||||||
value : 'What\'s up? Anything I can help with?',
|
value : 'What\'s up? Anything I can help with?',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(6).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 6}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '3b334e72-6605-4ebd-a4f6-3850067048de',
|
id : '3b334e72-6605-4ebd-a4f6-3850067048de',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: 'me',
|
contactId: 'me',
|
||||||
value : 'We\'ve been on the move, changed 3 places over 4 months',
|
value : 'We\'ve been on the move, changed 3 places over 4 months',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(7).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 7}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '25998113-3a96-4dd0-a7b9-4d2bb58db3f3',
|
id : '25998113-3a96-4dd0-a7b9-4d2bb58db3f3',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: '',
|
contactId: '',
|
||||||
value : 'Wow! That\'s crazy! 🤯 What happened?',
|
value : 'Wow! That\'s crazy! 🤯 What happened?',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(7).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 7}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '30adb3da-0e4f-487e-aec2-6d9f31e097f6',
|
id : '30adb3da-0e4f-487e-aec2-6d9f31e097f6',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: 'me',
|
contactId: 'me',
|
||||||
value : 'You know I got a job in that big software company. First move was because of that.',
|
value : 'You know I got a job in that big software company. First move was because of that.',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(8).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 8}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : 'c0d6fd6e-d294-4845-8751-e84b8f2c4d3b',
|
id : 'c0d6fd6e-d294-4845-8751-e84b8f2c4d3b',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: 'me',
|
contactId: 'me',
|
||||||
value : 'Then they decided to re-locate me after a month',
|
value : 'Then they decided to re-locate me after a month',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(8).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 8}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '8d3c442b-62fa-496f-bffa-210ff5c1866b',
|
id : '8d3c442b-62fa-496f-bffa-210ff5c1866b',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: 'me',
|
contactId: 'me',
|
||||||
value : 'Which was an absolute pain because we just set up everything, house, kids school and all that.',
|
value : 'Which was an absolute pain because we just set up everything, house, kids school and all that.',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(8).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 8}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '3cf26ef0-e81f-4698-ac39-487454413332',
|
id : '3cf26ef0-e81f-4698-ac39-487454413332',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: 'me',
|
contactId: 'me',
|
||||||
value : 'So we moved the second time.',
|
value : 'So we moved the second time.',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(9).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 9}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '415151b9-9ee9-40a4-a4ad-2d88146bc71b',
|
id : '415151b9-9ee9-40a4-a4ad-2d88146bc71b',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: '',
|
contactId: '',
|
||||||
value : 'It\'s crazy!',
|
value : 'It\'s crazy!',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(9).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 9}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '3a2d3a0e-839b-46e7-86ae-ca0826ecda7c',
|
id : '3a2d3a0e-839b-46e7-86ae-ca0826ecda7c',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: 'me',
|
contactId: 'me',
|
||||||
value : 'Then this virus thing happened and just after a week we moved in, they decided the whole department will be working remotely.',
|
value : 'Then this virus thing happened and just after a week we moved in, they decided the whole department will be working remotely.',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(10).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 10}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '5329c20d-6754-47ec-af8c-660c72be3528',
|
id : '5329c20d-6754-47ec-af8c-660c72be3528',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: 'me',
|
contactId: 'me',
|
||||||
value : 'And then we decided to move back our first location because, you know, everything was already setup so that\'s the third time.',
|
value : 'And then we decided to move back our first location because, you know, everything was already setup so that\'s the third time.',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(10).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 10}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '415151b9-9ee9-40a4-a4ad-2d88146bc71b',
|
id : '415151b9-9ee9-40a4-a4ad-2d88146bc71b',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: '',
|
contactId: '',
|
||||||
value : 'Ohh dude, I\'m really sorry you had to go through all that in such a short period of time',
|
value : 'Ohh dude, I\'m really sorry you had to go through all that in such a short period of time',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(11).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 11}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : 'ea7662d5-7b72-4c19-ad6c-f80320541001',
|
id : 'ea7662d5-7b72-4c19-ad6c-f80320541001',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: '',
|
contactId: '',
|
||||||
value : '😕',
|
value : '😕',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(11).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 11}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '3a2d3a0e-839b-46e7-86ae-ca0826ecda7c',
|
id : '3a2d3a0e-839b-46e7-86ae-ca0826ecda7c',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: 'me',
|
contactId: 'me',
|
||||||
value : 'Thanks, man! It was good catching up with you.',
|
value : 'Thanks, man! It was good catching up with you.',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(11).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 11}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '5329c20d-6754-47ec-af8c-660c72be3528',
|
id : '5329c20d-6754-47ec-af8c-660c72be3528',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: '',
|
contactId: '',
|
||||||
value : 'Yeah dude. Hit me again next week so we can grab a coffee, remotely!',
|
value : 'Yeah dude. Hit me again next week so we can grab a coffee, remotely!',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(12).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 12}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '5329c20d-6754-47ec-af8c-660c72be3528',
|
id : '5329c20d-6754-47ec-af8c-660c72be3528',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: 'me',
|
contactId: 'me',
|
||||||
value : ':) Sure, man! See you next week!',
|
value : ':) Sure, man! See you next week!',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(12).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 12}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '5329c20d-6754-47ec-af8c-660c72be3528',
|
id : '5329c20d-6754-47ec-af8c-660c72be3528',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: '',
|
contactId: '',
|
||||||
value : 'See you later!',
|
value : 'See you later!',
|
||||||
createdAt: moment().subtract(1, 'week').hour(19).minute(12).toISOString()
|
createdAt: now.minus({week: 1}).set({hour: 19, minute: 12}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : 'bab8ca0e-b8e5-4375-807b-1c91fca25a5d',
|
id : 'bab8ca0e-b8e5-4375-807b-1c91fca25a5d',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: 'me',
|
contactId: 'me',
|
||||||
value : 'Hey! Are you available right now? How about if we grab that coffee today? Remotely, of course :)',
|
value : 'Hey! Are you available right now? How about if we grab that coffee today? Remotely, of course :)',
|
||||||
createdAt: moment().hour(12).minute(45).toISOString()
|
createdAt: now.set({hour: 12, minute: 45}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '8445a84d-599d-4e2d-a31c-5f4f29ad2b4c',
|
id : '8445a84d-599d-4e2d-a31c-5f4f29ad2b4c',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: '',
|
contactId: '',
|
||||||
value : 'Hi!',
|
value : 'Hi!',
|
||||||
createdAt: moment().hour(12).minute(56).toISOString()
|
createdAt: now.set({hour: 12, minute: 56}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '9f506742-50da-4350-af9d-61e53392fa08',
|
id : '9f506742-50da-4350-af9d-61e53392fa08',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: '',
|
contactId: '',
|
||||||
value : 'Sure thing! I\'m gonna call you in 5, is it okay?',
|
value : 'Sure thing! I\'m gonna call you in 5, is it okay?',
|
||||||
createdAt: moment().hour(12).minute(56).toISOString()
|
createdAt: now.set({hour: 12, minute: 56}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : 'ca8523d8-faed-45f7-af09-f6bd5c3f3875',
|
id : 'ca8523d8-faed-45f7-af09-f6bd5c3f3875',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: 'me',
|
contactId: 'me',
|
||||||
value : 'Awesome! Call me in 5 minutes..',
|
value : 'Awesome! Call me in 5 minutes..',
|
||||||
createdAt: moment().hour(12).minute(58).toISOString()
|
createdAt: now.set({hour: 12, minute: 58}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '39944b00-1ffe-4ffb-8ca6-13c292812e06',
|
id : '39944b00-1ffe-4ffb-8ca6-13c292812e06',
|
||||||
chatId : '',
|
chatId : '',
|
||||||
contactId: '',
|
contactId: '',
|
||||||
value : '👍🏻',
|
value : '👍🏻',
|
||||||
createdAt: moment().hour(13).minute(0).toISOString()
|
createdAt: now.set({hour: 13, minute: 0}).toISO()
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
export const chats = [
|
export const chats = [
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
import * as moment from 'moment';
|
import { DateTime } from 'luxon';
|
||||||
|
|
||||||
|
/* Get the current instant */
|
||||||
|
const now = DateTime.now();
|
||||||
|
|
||||||
export const folders = [
|
export const folders = [
|
||||||
{
|
{
|
||||||
|
@ -103,7 +106,7 @@ export const mails = [
|
||||||
bcc : [
|
bcc : [
|
||||||
'Julie T. <julie.t@company.com>'
|
'Julie T. <julie.t@company.com>'
|
||||||
],
|
],
|
||||||
date : moment().hour(20).minute(13).toISOString(), // Today - 20:13
|
date : now.set({hour: 20, minute: 13}).toISO(), // Today - 20:13
|
||||||
subject : 'Please review and sign the attached agreement',
|
subject : 'Please review and sign the attached agreement',
|
||||||
content : 'Hi Brian,\n\nUllamco deserunt commodo esse deserunt deserunt quis eiusmod. Laborum sint excepteur non sit eiusmod sunt voluptate ipsum nisi ullamco magna. Lorem consectetur est dolor minim exercitation deserunt quis duis fugiat ipsum incididunt non. Anim aute ipsum cupidatat nisi occaecat quis sit nisi labore labore dolore do. Pariatur veniam culpa quis veniam nisi exercitation veniam ut. Quis do sint proident fugiat ad.\n\nNon id nisi commodo veniam. Veniam veniam minim ea laborum voluptate id duis deserunt. Anim ut ut amet et ullamco nulla fugiat id incididunt adipisicing excepteur amet. Ex amet eu cillum non fugiat velit dolore. Incididunt duis est eu et ex sunt consectetur cillum nisi aute proident.\n\nIncididunt excepteur laborum quis sit. Ex quis officia incididunt proident aliqua adipisicing. Irure ad in Lorem laborum deserunt nulla consequat. Pariatur excepteur exercitation cupidatat aute.\n\nCheers!\nMyra Dudley',
|
content : 'Hi Brian,\n\nUllamco deserunt commodo esse deserunt deserunt quis eiusmod. Laborum sint excepteur non sit eiusmod sunt voluptate ipsum nisi ullamco magna. Lorem consectetur est dolor minim exercitation deserunt quis duis fugiat ipsum incididunt non. Anim aute ipsum cupidatat nisi occaecat quis sit nisi labore labore dolore do. Pariatur veniam culpa quis veniam nisi exercitation veniam ut. Quis do sint proident fugiat ad.\n\nNon id nisi commodo veniam. Veniam veniam minim ea laborum voluptate id duis deserunt. Anim ut ut amet et ullamco nulla fugiat id incididunt adipisicing excepteur amet. Ex amet eu cillum non fugiat velit dolore. Incididunt duis est eu et ex sunt consectetur cillum nisi aute proident.\n\nIncididunt excepteur laborum quis sit. Ex quis officia incididunt proident aliqua adipisicing. Irure ad in Lorem laborum deserunt nulla consequat. Pariatur excepteur exercitation cupidatat aute.\n\nCheers!\nMyra Dudley',
|
||||||
attachments: [
|
attachments: [
|
||||||
|
@ -147,7 +150,7 @@ export const mails = [
|
||||||
contact: 'Shaw Murray <shaw.murray@company.com>'
|
contact: 'Shaw Murray <shaw.murray@company.com>'
|
||||||
},
|
},
|
||||||
to : 'me <hughes.brian@company.com>',
|
to : 'me <hughes.brian@company.com>',
|
||||||
date : moment().hour(18).minute(56).toISOString(), // Today - 18:56
|
date : now.set({hour: 18, minute: 56}).toISO(), // Today - 18:56
|
||||||
subject : 'Delivery address confirmation',
|
subject : 'Delivery address confirmation',
|
||||||
content : 'Dear Brian,\n\nDolore consectetur est cupidatat ipsum reprehenderit anim quis veniam anim ipsum incididunt exercitation. Velit exercitation culpa eiusmod dolore labore irure. Duis esse quis elit pariatur labore occaecat esse voluptate dolore deserunt cillum irure. Aute qui nulla est exercitation qui sunt anim aliquip. Ex ad est velit laboris exercitation ea ut pariatur. Amet reprehenderit ut est id sunt commodo anim et est voluptate et.\n\nMagna aliqua incididunt non ut voluptate nulla aliqua exercitation elit consectetur cupidatat. Proident in reprehenderit occaecat laborum non eu amet id aliqua nulla dolore. Eiusmod quis adipisicing quis cupidatat labore.\n\nReprehenderit nulla ullamco est dolore ex irure sunt nostrud reprehenderit quis dolor. Tempor nostrud elit elit aute ut ut eiusmod laboris excepteur consequat ex. Velit id ex ullamco in. Ea elit Lorem Lorem aliquip amet consequat irure nisi qui cillum incididunt. Commodo aute Lorem eiusmod veniam consectetur aute eu dolore. Ea magna incididunt laboris quis quis et tempor dolore dolore ut nisi.\n\nBest Regards,\nShaw Murray',
|
content : 'Dear Brian,\n\nDolore consectetur est cupidatat ipsum reprehenderit anim quis veniam anim ipsum incididunt exercitation. Velit exercitation culpa eiusmod dolore labore irure. Duis esse quis elit pariatur labore occaecat esse voluptate dolore deserunt cillum irure. Aute qui nulla est exercitation qui sunt anim aliquip. Ex ad est velit laboris exercitation ea ut pariatur. Amet reprehenderit ut est id sunt commodo anim et est voluptate et.\n\nMagna aliqua incididunt non ut voluptate nulla aliqua exercitation elit consectetur cupidatat. Proident in reprehenderit occaecat laborum non eu amet id aliqua nulla dolore. Eiusmod quis adipisicing quis cupidatat labore.\n\nReprehenderit nulla ullamco est dolore ex irure sunt nostrud reprehenderit quis dolor. Tempor nostrud elit elit aute ut ut eiusmod laboris excepteur consequat ex. Velit id ex ullamco in. Ea elit Lorem Lorem aliquip amet consequat irure nisi qui cillum incididunt. Commodo aute Lorem eiusmod veniam consectetur aute eu dolore. Ea magna incididunt laboris quis quis et tempor dolore dolore ut nisi.\n\nBest Regards,\nShaw Murray',
|
||||||
attachments: [],
|
attachments: [],
|
||||||
|
@ -170,7 +173,7 @@ export const mails = [
|
||||||
cc : [
|
cc : [
|
||||||
'Graham Belltower <graham.belltower@company.com>'
|
'Graham Belltower <graham.belltower@company.com>'
|
||||||
],
|
],
|
||||||
date : moment().hour(14).minute(35).toISOString(), // Today - 14:35
|
date : now.set({hour: 14, minute: 35}).toISO(), // Today - 14:35
|
||||||
subject : 'Insurance documents',
|
subject : 'Insurance documents',
|
||||||
content : 'Hi Brian,\n\nAliquip ipsum sunt sit sunt velit velit pariatur. Nisi incididunt eiusmod consequat ut cillum eu exercitation. Enim proident nostrud aute in. Non irure nisi duis aliquip commodo proident veniam adipisicing id velit. Enim magna Lorem fugiat tempor.\n\nCommodo non nulla incididunt irure voluptate. Fugiat culpa cillum aute quis. Voluptate veniam adipisicing dolor sint. Proident eiusmod quis duis ipsum sit eu.\n\nDeserunt reprehenderit adipisicing reprehenderit ipsum. Laborum in veniam amet occaecat tempor esse enim dolore elit sit quis adipisicing. Aute occaecat eiusmod enim cupidatat sunt.\n\nBest Regards,\nSanders Beck',
|
content : 'Hi Brian,\n\nAliquip ipsum sunt sit sunt velit velit pariatur. Nisi incididunt eiusmod consequat ut cillum eu exercitation. Enim proident nostrud aute in. Non irure nisi duis aliquip commodo proident veniam adipisicing id velit. Enim magna Lorem fugiat tempor.\n\nCommodo non nulla incididunt irure voluptate. Fugiat culpa cillum aute quis. Voluptate veniam adipisicing dolor sint. Proident eiusmod quis duis ipsum sit eu.\n\nDeserunt reprehenderit adipisicing reprehenderit ipsum. Laborum in veniam amet occaecat tempor esse enim dolore elit sit quis adipisicing. Aute occaecat eiusmod enim cupidatat sunt.\n\nBest Regards,\nSanders Beck',
|
||||||
attachments: [],
|
attachments: [],
|
||||||
|
@ -188,7 +191,7 @@ export const mails = [
|
||||||
contact: 'Zimmerman Gould <zimmerman.gould@company.com>'
|
contact: 'Zimmerman Gould <zimmerman.gould@company.com>'
|
||||||
},
|
},
|
||||||
to : 'me <hughes.brian@company.com>',
|
to : 'me <hughes.brian@company.com>',
|
||||||
date : moment().hour(22).minute(26).subtract(1, 'day').toISOString(), // Yesterday - 08:22
|
date : now.minus({day: 1}).set({hour: 22, minute: 26}).toISO(), // Yesterday - 22:26
|
||||||
subject : 'Previous clients and their invoices',
|
subject : 'Previous clients and their invoices',
|
||||||
content : 'Dear Brian,\n\nDo aute eu dolore officia laborum id anim fugiat incididunt nulla esse proident. Veniam veniam nostrud ut nisi magna ipsum ea eiusmod esse velit id aliqua nisi irure. Amet laborum fugiat deserunt est. Quis amet veniam anim nostrud irure cillum voluptate consequat qui cupidatat minim occaecat elit enim. Ut ut incididunt cillum sit sit irure culpa. Culpa exercitation minim velit eu. Ipsum exercitation excepteur et ad do sit.\n\nVeniam cupidatat officia aliqua ad excepteur cillum laboris deserunt esse laboris adipisicing reprehenderit. Reprehenderit anim consectetur pariatur labore do in irure. Ad consequat commodo non pariatur occaecat. Eiusmod cillum non anim consequat culpa nisi. Est nulla ut sint qui deserunt anim. Excepteur qui occaecat dolore nulla occaecat cupidatat aute sit laborum magna.\n\nConsequat aliqua commodo officia excepteur. Ex consectetur elit dolor exercitation ullamco amet laboris. Deserunt nulla non proident est pariatur reprehenderit reprehenderit. Ea nisi id aliqua cillum velit tempor ipsum dolor proident cillum eiusmod et ipsum anim. Elit non quis mollit enim Lorem cupidatat et labore. Laboris cillum reprehenderit aute veniam aliqua esse officia proident deserunt. Eiusmod laboris ullamco amet consectetur amet.\n\nKind Regards,\nZimmerman Gould',
|
content : 'Dear Brian,\n\nDo aute eu dolore officia laborum id anim fugiat incididunt nulla esse proident. Veniam veniam nostrud ut nisi magna ipsum ea eiusmod esse velit id aliqua nisi irure. Amet laborum fugiat deserunt est. Quis amet veniam anim nostrud irure cillum voluptate consequat qui cupidatat minim occaecat elit enim. Ut ut incididunt cillum sit sit irure culpa. Culpa exercitation minim velit eu. Ipsum exercitation excepteur et ad do sit.\n\nVeniam cupidatat officia aliqua ad excepteur cillum laboris deserunt esse laboris adipisicing reprehenderit. Reprehenderit anim consectetur pariatur labore do in irure. Ad consequat commodo non pariatur occaecat. Eiusmod cillum non anim consequat culpa nisi. Est nulla ut sint qui deserunt anim. Excepteur qui occaecat dolore nulla occaecat cupidatat aute sit laborum magna.\n\nConsequat aliqua commodo officia excepteur. Ex consectetur elit dolor exercitation ullamco amet laboris. Deserunt nulla non proident est pariatur reprehenderit reprehenderit. Ea nisi id aliqua cillum velit tempor ipsum dolor proident cillum eiusmod et ipsum anim. Elit non quis mollit enim Lorem cupidatat et labore. Laboris cillum reprehenderit aute veniam aliqua esse officia proident deserunt. Eiusmod laboris ullamco amet consectetur amet.\n\nKind Regards,\nZimmerman Gould',
|
||||||
attachments: [],
|
attachments: [],
|
||||||
|
@ -209,7 +212,7 @@ export const mails = [
|
||||||
cc : [
|
cc : [
|
||||||
'Graham Belltower <graham.belltower@company.com>'
|
'Graham Belltower <graham.belltower@company.com>'
|
||||||
],
|
],
|
||||||
date : moment().hour(20).minute(5).subtract(1, 'day').toISOString(), // Yesterday - 22:05
|
date : now.minus({day: 1}).set({hour: 20, minute: 5}).toISO(), // Yesterday - 20:05
|
||||||
subject : 'Quote for a new web design project',
|
subject : 'Quote for a new web design project',
|
||||||
content : 'Hey Brian,\n\nNisi officia aliqua ex non cupidatat sint ullamco. Irure pariatur ullamco consequat ut eu anim. Ut ad elit pariatur est non sunt. Tempor dolore quis commodo dolore duis officia laboris nostrud sint. Exercitation ullamco laboris eiusmod culpa ut.\n\nAute Lorem aute occaecat dolore tempor ipsum proident fugiat deserunt non incididunt velit nulla. Dolor pariatur tempor amet qui eu exercitation. Tempor minim culpa proident nisi esse ea. Enim est fugiat aliqua aliqua aute velit laborum cupidatat irure nisi dolor deserunt aliqua.\n\nFugiat ut dolor tempor sunt aliquip dolor nostrud. Consequat incididunt ullamco cillum dolore excepteur deserunt est dolor aliquip irure do mollit officia. Consectetur cillum et non minim nisi. Esse quis sunt deserunt elit sint velit tempor et ullamco laboris officia excepteur. Veniam ad ut aliqua sunt consequat reprehenderit nostrud non in duis aute quis pariatur. Occaecat mollit anim non pariatur. Ad do ad id fugiat et culpa laborum esse cupidatat voluptate elit ut magna voluptate.\n\nBest Regards,\nKarina Alford',
|
content : 'Hey Brian,\n\nNisi officia aliqua ex non cupidatat sint ullamco. Irure pariatur ullamco consequat ut eu anim. Ut ad elit pariatur est non sunt. Tempor dolore quis commodo dolore duis officia laboris nostrud sint. Exercitation ullamco laboris eiusmod culpa ut.\n\nAute Lorem aute occaecat dolore tempor ipsum proident fugiat deserunt non incididunt velit nulla. Dolor pariatur tempor amet qui eu exercitation. Tempor minim culpa proident nisi esse ea. Enim est fugiat aliqua aliqua aute velit laborum cupidatat irure nisi dolor deserunt aliqua.\n\nFugiat ut dolor tempor sunt aliquip dolor nostrud. Consequat incididunt ullamco cillum dolore excepteur deserunt est dolor aliquip irure do mollit officia. Consectetur cillum et non minim nisi. Esse quis sunt deserunt elit sint velit tempor et ullamco laboris officia excepteur. Veniam ad ut aliqua sunt consequat reprehenderit nostrud non in duis aute quis pariatur. Occaecat mollit anim non pariatur. Ad do ad id fugiat et culpa laborum esse cupidatat voluptate elit ut magna voluptate.\n\nBest Regards,\nKarina Alford',
|
||||||
attachments: [],
|
attachments: [],
|
||||||
|
@ -230,7 +233,7 @@ export const mails = [
|
||||||
cc : [
|
cc : [
|
||||||
'Graham Belltower <graham.belltower@company.com>'
|
'Graham Belltower <graham.belltower@company.com>'
|
||||||
],
|
],
|
||||||
date : moment().hour(16).minute(43).subtract(1, 'day').toISOString(), // Yesterday - 16:43
|
date : now.minus({day: 1}).set({hour: 16, minute: 43}).toISO(), // Yesterday - 16:43
|
||||||
subject : 'Nulla culpa consectetur aute ex eu irure incididunt aliqua cupidatat sit cillum fugiat anim ea',
|
subject : 'Nulla culpa consectetur aute ex eu irure incididunt aliqua cupidatat sit cillum fugiat anim ea',
|
||||||
content : 'Hey Brian,\n\nDo pariatur occaecat tempor duis. Aute occaecat non consequat ut occaecat sint. Cillum reprehenderit elit nisi incididunt in labore pariatur. Labore mollit pariatur nulla officia esse anim exercitation nisi commodo culpa laborum amet nisi.\n\nSunt culpa mollit nostrud excepteur adipisicing sit do. Cillum voluptate amet do sit quis aliquip ea est qui elit. Veniam exercitation sit reprehenderit labore officia in labore excepteur eiusmod exercitation.\n\nEnim nostrud est non esse reprehenderit in ea eiusmod. Duis incididunt amet aliquip dolor esse. Nostrud qui commodo in non nostrud proident enim cupidatat. Aute sunt aliqua excepteur qui occaecat nulla incididunt commodo adipisicing ipsum.\n\nKind Regards,\nCarla Gray',
|
content : 'Hey Brian,\n\nDo pariatur occaecat tempor duis. Aute occaecat non consequat ut occaecat sint. Cillum reprehenderit elit nisi incididunt in labore pariatur. Labore mollit pariatur nulla officia esse anim exercitation nisi commodo culpa laborum amet nisi.\n\nSunt culpa mollit nostrud excepteur adipisicing sit do. Cillum voluptate amet do sit quis aliquip ea est qui elit. Veniam exercitation sit reprehenderit labore officia in labore excepteur eiusmod exercitation.\n\nEnim nostrud est non esse reprehenderit in ea eiusmod. Duis incididunt amet aliquip dolor esse. Nostrud qui commodo in non nostrud proident enim cupidatat. Aute sunt aliqua excepteur qui occaecat nulla incididunt commodo adipisicing ipsum.\n\nKind Regards,\nCarla Gray',
|
||||||
attachments: [],
|
attachments: [],
|
||||||
|
@ -252,7 +255,7 @@ export const mails = [
|
||||||
'Graham Belltower <graham.belltower@company.com>',
|
'Graham Belltower <graham.belltower@company.com>',
|
||||||
'Julie T. <julie.t@company.com>'
|
'Julie T. <julie.t@company.com>'
|
||||||
],
|
],
|
||||||
date : moment().hour(11).minute(28).subtract(2, 'day').toISOString(), // 2 days ago - 11:28
|
date : now.minus({day: 2}).set({hour: 11, minute: 28}).toISO(), // 2 days ago - 11:28
|
||||||
subject : 'Ipsum laborum minim aute labore in',
|
subject : 'Ipsum laborum minim aute labore in',
|
||||||
content : 'Dear Brian,\n\nLaboris non ad et aute sint aliquip mollit voluptate velit dolore magna fugiat ex. Voluptate amet aute deserunt tempor non laboris cillum. Voluptate veniam magna sint magna proident exercitation adipisicing aute id ad tempor reprehenderit magna ullamco. Laborum Lorem anim elit aliquip ut aute minim fugiat aliquip. Eiusmod est et occaecat dolore anim laborum ullamco ipsum commodo.\n\nCommodo amet veniam nostrud mollit quis sint qui nulla elit esse excepteur ullamco esse magna. Nisi duis aute est in mollit irure enim tempor in. Mollit ipsum laboris et velit ex excepteur pariatur. Cillum veniam id ipsum magna. Laborum duis aliquip ut ipsum ad aliqua id sit pariatur consequat sit. Sit nulla nulla ullamco nulla eiusmod et in dolore sint reprehenderit cupidatat.\n\nIpsum mollit cupidatat magna occaecat labore est fugiat est fugiat fugiat nulla labore laboris. Eiusmod aute adipisicing pariatur aliquip sint enim anim in dolore enim aute culpa nulla. Minim magna enim officia ipsum elit quis do velit deserunt Lorem veniam excepteur.\n\nKind Regards,\nRice Cash',
|
content : 'Dear Brian,\n\nLaboris non ad et aute sint aliquip mollit voluptate velit dolore magna fugiat ex. Voluptate amet aute deserunt tempor non laboris cillum. Voluptate veniam magna sint magna proident exercitation adipisicing aute id ad tempor reprehenderit magna ullamco. Laborum Lorem anim elit aliquip ut aute minim fugiat aliquip. Eiusmod est et occaecat dolore anim laborum ullamco ipsum commodo.\n\nCommodo amet veniam nostrud mollit quis sint qui nulla elit esse excepteur ullamco esse magna. Nisi duis aute est in mollit irure enim tempor in. Mollit ipsum laboris et velit ex excepteur pariatur. Cillum veniam id ipsum magna. Laborum duis aliquip ut ipsum ad aliqua id sit pariatur consequat sit. Sit nulla nulla ullamco nulla eiusmod et in dolore sint reprehenderit cupidatat.\n\nIpsum mollit cupidatat magna occaecat labore est fugiat est fugiat fugiat nulla labore laboris. Eiusmod aute adipisicing pariatur aliquip sint enim anim in dolore enim aute culpa nulla. Minim magna enim officia ipsum elit quis do velit deserunt Lorem veniam excepteur.\n\nKind Regards,\nRice Cash',
|
||||||
attachments: [
|
attachments: [
|
||||||
|
@ -295,7 +298,7 @@ export const mails = [
|
||||||
cc : [
|
cc : [
|
||||||
'Graham Belltower <graham.belltower@company.com>'
|
'Graham Belltower <graham.belltower@company.com>'
|
||||||
],
|
],
|
||||||
date : moment().hour(7).minute(12).subtract(2, 'day').toISOString(), // 2 days ago - 07:12
|
date : now.minus({day: 2}).set({hour: 7, minute: 12}).toISO(), // 2 days ago - 07:12
|
||||||
subject : 'Ipsum fugiat ad deserunt cillum sunt fugiat',
|
subject : 'Ipsum fugiat ad deserunt cillum sunt fugiat',
|
||||||
content : 'Hello Brian,\n\nId Lorem laborum eiusmod eiusmod mollit magna dolore. Et commodo officia fugiat dolor aliqua proident mollit ut commodo ullamco. Sunt nulla eu dolor velit velit reprehenderit. Culpa esse veniam fugiat eiusmod id veniam sunt reprehenderit minim mollit. Esse qui ea irure pariatur eu ullamco pariatur ipsum reprehenderit proident mollit proident. Nisi fugiat ut est aliquip nulla in non dolore.\n\nCulpa irure cillum ex fugiat cupidatat eiusmod non. Qui irure velit consectetur minim eu excepteur eiusmod veniam irure ad culpa nisi. Nisi sit nostrud quis ullamco aliquip non consequat sunt reprehenderit velit dolor dolor laboris. Dolore in Lorem consectetur nostrud. Laborum cupidatat exercitation voluptate duis amet. Sunt sint minim do in commodo ipsum commodo ea qui velit deserunt qui anim fugiat.\n\nExercitation et qui consequat incididunt nisi incididunt cupidatat officia in. Sit eiusmod anim aliqua elit. Nisi mollit ut non pariatur enim fugiat sint labore velit nostrud eu. Eiusmod id laboris laboris duis enim aute ipsum in magna. Sit eiusmod amet duis commodo sint et anim ex sunt deserunt dolor incididunt. Eiusmod duis dolore dolor elit occaecat do adipisicing ullamco ex laboris aliqua adipisicing. Labore pariatur aute proident mollit elit commodo labore minim dolore non in cillum.\n\nCheers!\nElaine Ortiz',
|
content : 'Hello Brian,\n\nId Lorem laborum eiusmod eiusmod mollit magna dolore. Et commodo officia fugiat dolor aliqua proident mollit ut commodo ullamco. Sunt nulla eu dolor velit velit reprehenderit. Culpa esse veniam fugiat eiusmod id veniam sunt reprehenderit minim mollit. Esse qui ea irure pariatur eu ullamco pariatur ipsum reprehenderit proident mollit proident. Nisi fugiat ut est aliquip nulla in non dolore.\n\nCulpa irure cillum ex fugiat cupidatat eiusmod non. Qui irure velit consectetur minim eu excepteur eiusmod veniam irure ad culpa nisi. Nisi sit nostrud quis ullamco aliquip non consequat sunt reprehenderit velit dolor dolor laboris. Dolore in Lorem consectetur nostrud. Laborum cupidatat exercitation voluptate duis amet. Sunt sint minim do in commodo ipsum commodo ea qui velit deserunt qui anim fugiat.\n\nExercitation et qui consequat incididunt nisi incididunt cupidatat officia in. Sit eiusmod anim aliqua elit. Nisi mollit ut non pariatur enim fugiat sint labore velit nostrud eu. Eiusmod id laboris laboris duis enim aute ipsum in magna. Sit eiusmod amet duis commodo sint et anim ex sunt deserunt dolor incididunt. Eiusmod duis dolore dolor elit occaecat do adipisicing ullamco ex laboris aliqua adipisicing. Labore pariatur aute proident mollit elit commodo labore minim dolore non in cillum.\n\nCheers!\nElaine Ortiz',
|
||||||
attachments: [],
|
attachments: [],
|
||||||
|
@ -321,7 +324,7 @@ export const mails = [
|
||||||
cc : [
|
cc : [
|
||||||
'Graham Belltower <graham.belltower@company.com>'
|
'Graham Belltower <graham.belltower@company.com>'
|
||||||
],
|
],
|
||||||
date : moment().hour(6).minute(1).subtract(2, 'day').toISOString(), // 2 days ago - 06:01
|
date : now.minus({day: 2}).set({hour: 6, minute: 1}).toISO(), // 2 days ago - 06:01
|
||||||
subject : 'Deserunt exercitation ut nulla elit Lorem',
|
subject : 'Deserunt exercitation ut nulla elit Lorem',
|
||||||
content : 'Hi Brian,\n\nEst labore sunt sunt Lorem dolore. In excepteur esse proident ut consectetur dolor voluptate laborum veniam pariatur. Excepteur ut veniam sit culpa exercitation qui nulla nulla magna ea in dolore et consequat. Irure minim ad cupidatat amet reprehenderit excepteur incididunt nulla eu et excepteur anim et aliqua.\n\nSint sint Lorem magna est irure sint ea cupidatat fugiat. Occaecat non adipisicing magna magna culpa sit commodo aute ex consequat amet minim esse ut. In nulla eiusmod veniam deserunt in.\n\nIn aute excepteur qui pariatur fugiat. Occaecat velit voluptate proident occaecat ut laboris occaecat pariatur aute dolore do. Ut commodo ipsum est non commodo ut ea qui labore veniam. Occaecat nostrud eu dolor tempor velit excepteur sint occaecat excepteur aliqua aliquip. Magna mollit ea aliquip exercitation do elit ex reprehenderit esse aliqua elit.\n\nKind Regards,\nFleming Stone',
|
content : 'Hi Brian,\n\nEst labore sunt sunt Lorem dolore. In excepteur esse proident ut consectetur dolor voluptate laborum veniam pariatur. Excepteur ut veniam sit culpa exercitation qui nulla nulla magna ea in dolore et consequat. Irure minim ad cupidatat amet reprehenderit excepteur incididunt nulla eu et excepteur anim et aliqua.\n\nSint sint Lorem magna est irure sint ea cupidatat fugiat. Occaecat non adipisicing magna magna culpa sit commodo aute ex consequat amet minim esse ut. In nulla eiusmod veniam deserunt in.\n\nIn aute excepteur qui pariatur fugiat. Occaecat velit voluptate proident occaecat ut laboris occaecat pariatur aute dolore do. Ut commodo ipsum est non commodo ut ea qui labore veniam. Occaecat nostrud eu dolor tempor velit excepteur sint occaecat excepteur aliqua aliquip. Magna mollit ea aliquip exercitation do elit ex reprehenderit esse aliqua elit.\n\nKind Regards,\nFleming Stone',
|
||||||
attachments: [],
|
attachments: [],
|
||||||
|
@ -343,7 +346,7 @@ export const mails = [
|
||||||
contact: 'England Wiley <england.wiley@company.com>'
|
contact: 'England Wiley <england.wiley@company.com>'
|
||||||
},
|
},
|
||||||
to : 'me <hughes.brian@company.com>',
|
to : 'me <hughes.brian@company.com>',
|
||||||
date : moment().hour(15).minute(36).subtract(5, 'day').toISOString(), // 2 days ago - 15:36
|
date : now.minus({day: 5}).set({hour: 15, minute: 36}).toISO(), // 5 days ago - 15:36
|
||||||
subject : 'Minim do reprehenderit dolor ipsum officia magna laborum est anim in fugiat',
|
subject : 'Minim do reprehenderit dolor ipsum officia magna laborum est anim in fugiat',
|
||||||
content : 'Dear Brian,\n\nAd do minim id ad ex sit reprehenderit labore do occaecat fugiat ut enim. Et sunt dolore sint non consequat ut. Esse deserunt nostrud pariatur nulla ullamco nulla sit aliquip culpa sunt ipsum. Ut ad minim qui anim amet aute cupidatat. Est ullamco duis laboris nulla labore incididunt consectetur. Cillum sunt mollit nulla laborum non tempor veniam consequat.\n\nAmet fugiat velit id deserunt pariatur velit laboris consectetur quis officia. Culpa nostrud deserunt nostrud esse labore esse consequat labore fugiat. Nostrud duis ex nulla et do.\n\nPariatur mollit ex adipisicing nostrud nostrud occaecat. Id tempor irure cupidatat duis cillum cupidatat nostrud enim anim. Esse nisi pariatur nisi elit elit sit quis ullamco dolor dolore pariatur est sint. Sint ex aliqua id sunt sunt magna amet ex sit anim. Irure aliquip fugiat ipsum tempor irure nisi Lorem anim sit ullamco. Exercitation nostrud mollit est non enim.\n\nBest Regards,\nEngland Wiley',
|
content : 'Dear Brian,\n\nAd do minim id ad ex sit reprehenderit labore do occaecat fugiat ut enim. Et sunt dolore sint non consequat ut. Esse deserunt nostrud pariatur nulla ullamco nulla sit aliquip culpa sunt ipsum. Ut ad minim qui anim amet aute cupidatat. Est ullamco duis laboris nulla labore incididunt consectetur. Cillum sunt mollit nulla laborum non tempor veniam consequat.\n\nAmet fugiat velit id deserunt pariatur velit laboris consectetur quis officia. Culpa nostrud deserunt nostrud esse labore esse consequat labore fugiat. Nostrud duis ex nulla et do.\n\nPariatur mollit ex adipisicing nostrud nostrud occaecat. Id tempor irure cupidatat duis cillum cupidatat nostrud enim anim. Esse nisi pariatur nisi elit elit sit quis ullamco dolor dolore pariatur est sint. Sint ex aliqua id sunt sunt magna amet ex sit anim. Irure aliquip fugiat ipsum tempor irure nisi Lorem anim sit ullamco. Exercitation nostrud mollit est non enim.\n\nBest Regards,\nEngland Wiley',
|
||||||
attachments: [],
|
attachments: [],
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
import moment from 'moment';
|
import { DateTime } from 'luxon';
|
||||||
|
|
||||||
|
/* Get the current instant */
|
||||||
|
const now = DateTime.now();
|
||||||
|
|
||||||
export const labels = [
|
export const labels = [
|
||||||
{
|
{
|
||||||
|
@ -38,7 +41,7 @@ export const notes = [
|
||||||
reminder : null,
|
reminder : null,
|
||||||
labels : ['e2f749f5-41ed-49d0-a92a-1c83d879e371'],
|
labels : ['e2f749f5-41ed-49d0-a92a-1c83d879e371'],
|
||||||
archived : false,
|
archived : false,
|
||||||
createdAt: moment().hour(10).minute(19).subtract(98, 'day').toISOString(),
|
createdAt: now.set({hour: 10, minute: 19}).minus({day: 98}).toISO(),
|
||||||
updatedAt: null
|
updatedAt: null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -53,7 +56,7 @@ export const notes = [
|
||||||
'b1cde9ee-e54d-4142-ad8b-cf55dafc9528'
|
'b1cde9ee-e54d-4142-ad8b-cf55dafc9528'
|
||||||
],
|
],
|
||||||
archived : false,
|
archived : false,
|
||||||
createdAt: moment().hour(15).minute(37).subtract(80, 'day').toISOString(),
|
createdAt: now.set({hour: 15, minute: 37}).minus({day: 80}).toISO(),
|
||||||
updatedAt: null
|
updatedAt: null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -65,8 +68,8 @@ export const notes = [
|
||||||
reminder : null,
|
reminder : null,
|
||||||
labels : ['6c288794-47eb-4605-8bdf-785b61a449d3'],
|
labels : ['6c288794-47eb-4605-8bdf-785b61a449d3'],
|
||||||
archived : false,
|
archived : false,
|
||||||
createdAt: moment().hour(19).minute(27).subtract(74, 'day').toISOString(),
|
createdAt: now.set({hour: 19, minute: 27}).minus({day: 74}).toISO(),
|
||||||
updatedAt: moment().hour(15).minute(36).subtract(50, 'day').toISOString()
|
updatedAt: now.set({hour: 15, minute: 36}).minus({day: 50}).toISO(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '89861bd4-0144-4bb4-8b39-332ca10371d5',
|
id : '89861bd4-0144-4bb4-8b39-332ca10371d5',
|
||||||
|
@ -74,10 +77,10 @@ export const notes = [
|
||||||
content : 'Theming support for all apps',
|
content : 'Theming support for all apps',
|
||||||
tasks : null,
|
tasks : null,
|
||||||
image : null,
|
image : null,
|
||||||
reminder : moment().hour(12).minute(34).add(50, 'day').toISOString(),
|
reminder: now.set({hour: 12, minute: 34}).plus({day: 50}).toISO(),
|
||||||
labels : ['e2f749f5-41ed-49d0-a92a-1c83d879e371'],
|
labels : ['e2f749f5-41ed-49d0-a92a-1c83d879e371'],
|
||||||
archived : false,
|
archived : false,
|
||||||
createdAt: moment().hour(12).minute(34).subtract(59, 'day').toISOString(),
|
createdAt: now.set({hour: 12, minute: 34}).minus({day: 59}).toISO(),
|
||||||
updatedAt: null
|
updatedAt: null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -110,7 +113,7 @@ export const notes = [
|
||||||
reminder : null,
|
reminder : null,
|
||||||
labels : ['f47c92e5-20b9-44d9-917f-9ff4ad25dfd0'],
|
labels : ['f47c92e5-20b9-44d9-917f-9ff4ad25dfd0'],
|
||||||
archived : false,
|
archived : false,
|
||||||
createdAt: moment().hour(16).minute(4).subtract(47, 'day').toISOString(),
|
createdAt: now.set({hour: 16, minute: 4}).minus({day: 47}).toISO(),
|
||||||
updatedAt: null
|
updatedAt: null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -145,10 +148,10 @@ export const notes = [
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
image : null,
|
image : null,
|
||||||
reminder : moment().hour(10).minute(44).subtract(35, 'day').toISOString(),
|
reminder : now.set({hour: 10, minute: 44}).minus({day: 35}).toISO(),
|
||||||
labels : ['b1cde9ee-e54d-4142-ad8b-cf55dafc9528'],
|
labels : ['b1cde9ee-e54d-4142-ad8b-cf55dafc9528'],
|
||||||
archived : false,
|
archived : false,
|
||||||
createdAt: moment().hour(10).minute(44).subtract(35, 'day').toISOString(),
|
createdAt: now.set({hour: 10, minute: 44}).minus({day: 35}).toISO(),
|
||||||
updatedAt: null
|
updatedAt: null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -183,13 +186,13 @@ export const notes = [
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
image : null,
|
image : null,
|
||||||
reminder : moment().hour(11).minute(27).subtract(14, 'day').toISOString(),
|
reminder : now.set({hour: 11, minute: 27}).minus({day: 14}).toISO(),
|
||||||
labels : [
|
labels : [
|
||||||
'b1cde9ee-e54d-4142-ad8b-cf55dafc9528',
|
'b1cde9ee-e54d-4142-ad8b-cf55dafc9528',
|
||||||
'e2f749f5-41ed-49d0-a92a-1c83d879e371'
|
'e2f749f5-41ed-49d0-a92a-1c83d879e371'
|
||||||
],
|
],
|
||||||
archived : false,
|
archived : false,
|
||||||
createdAt: moment().hour(11).minute(27).subtract(24, 'day').toISOString(),
|
createdAt: now.set({hour: 11, minute: 27}).minus({day: 24}).toISO(),
|
||||||
updatedAt: null
|
updatedAt: null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -198,10 +201,10 @@ export const notes = [
|
||||||
content : 'Organize the dad\'s surprise retirement party',
|
content : 'Organize the dad\'s surprise retirement party',
|
||||||
tasks : null,
|
tasks : null,
|
||||||
image : null,
|
image : null,
|
||||||
reminder : moment().hour(14).minute(56).subtract(25, 'day').toISOString(),
|
reminder : now.set({hour: 14, minute: 56}).minus({day: 25}).toISO(),
|
||||||
labels : ['f47c92e5-20b9-44d9-917f-9ff4ad25dfd0'],
|
labels : ['f47c92e5-20b9-44d9-917f-9ff4ad25dfd0'],
|
||||||
archived : false,
|
archived : false,
|
||||||
createdAt: moment().hour(14).minute(56).subtract(20, 'day').toISOString(),
|
createdAt: now.set({hour: 14, minute: 56}).minus({day: 20}).toISO(),
|
||||||
updatedAt: null
|
updatedAt: null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -216,8 +219,8 @@ export const notes = [
|
||||||
'b1cde9ee-e54d-4142-ad8b-cf55dafc9528'
|
'b1cde9ee-e54d-4142-ad8b-cf55dafc9528'
|
||||||
],
|
],
|
||||||
archived : false,
|
archived : false,
|
||||||
createdAt: moment().hour(9).minute(32).subtract(15, 'day').toISOString(),
|
createdAt: now.set({hour: 9, minute: 32}).minus({day: 15}).toISO(),
|
||||||
updatedAt: moment().hour(17).minute(6).subtract(12, 'day').toISOString()
|
updatedAt: now.set({hour: 17, minute: 6}).minus({day: 12}).toISO(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '15188348-78aa-4ed6-b5c2-028a214ba987',
|
id : '15188348-78aa-4ed6-b5c2-028a214ba987',
|
||||||
|
@ -228,7 +231,7 @@ export const notes = [
|
||||||
reminder : null,
|
reminder : null,
|
||||||
labels : ['e2f749f5-41ed-49d0-a92a-1c83d879e371'],
|
labels : ['e2f749f5-41ed-49d0-a92a-1c83d879e371'],
|
||||||
archived : false,
|
archived : false,
|
||||||
createdAt: moment().hour(20).minute(5).subtract(12, 'day').toISOString(),
|
createdAt: now.set({hour: 20, minute: 5}).minus({day: 12}).toISO(),
|
||||||
updatedAt: null
|
updatedAt: null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -248,10 +251,10 @@ export const notes = [
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
image : null,
|
image : null,
|
||||||
reminder : moment().hour(13).minute(43).subtract(2, 'day').toISOString(),
|
reminder : now.set({hour: 13, minute: 43}).minus({day: 2}).toISO(),
|
||||||
labels : ['bbc73458-940b-421c-8d5f-8dcd23a9b0d6'],
|
labels : ['bbc73458-940b-421c-8d5f-8dcd23a9b0d6'],
|
||||||
archived : false,
|
archived : false,
|
||||||
createdAt: moment().hour(13).minute(43).subtract(7, 'day').toISOString(),
|
createdAt: now.set({hour: 13, minute: 43}).minus({day: 7}).toISO(),
|
||||||
updatedAt: null
|
updatedAt: null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -266,7 +269,7 @@ export const notes = [
|
||||||
'6c288794-47eb-4605-8bdf-785b61a449d3'
|
'6c288794-47eb-4605-8bdf-785b61a449d3'
|
||||||
],
|
],
|
||||||
archived : false,
|
archived : false,
|
||||||
createdAt: moment().hour(7).minute(12).subtract(2, 'day').toISOString(),
|
createdAt: now.set({hour: 7, minute: 12}).minus({day: 2}).toISO(),
|
||||||
updatedAt: null
|
updatedAt: null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -281,7 +284,7 @@ export const notes = [
|
||||||
'6c288794-47eb-4605-8bdf-785b61a449d3'
|
'6c288794-47eb-4605-8bdf-785b61a449d3'
|
||||||
],
|
],
|
||||||
archived : true,
|
archived : true,
|
||||||
createdAt: moment().hour(17).minute(14).subtract(100, 'day').toISOString(),
|
createdAt: now.set({hour: 17, minute: 14}).minus({day: 100}).toISO(),
|
||||||
updatedAt: null
|
updatedAt: null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -293,7 +296,7 @@ export const notes = [
|
||||||
reminder : null,
|
reminder : null,
|
||||||
labels : ['e2f749f5-41ed-49d0-a92a-1c83d879e371'],
|
labels : ['e2f749f5-41ed-49d0-a92a-1c83d879e371'],
|
||||||
archived : true,
|
archived : true,
|
||||||
createdAt: moment().hour(10).minute(29).subtract(85, 'day').toISOString(),
|
createdAt: now.set({hour: 10, minute: 29}).minus({day: 85}).toISO(),
|
||||||
updatedAt: null
|
updatedAt: null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -308,7 +311,7 @@ export const notes = [
|
||||||
'b1cde9ee-e54d-4142-ad8b-cf55dafc9528'
|
'b1cde9ee-e54d-4142-ad8b-cf55dafc9528'
|
||||||
],
|
],
|
||||||
archived : true,
|
archived : true,
|
||||||
createdAt: moment().hour(15).minute(30).subtract(69, 'day').toISOString(),
|
createdAt: now.set({hour: 15, minute: 30}).minus({day: 69}).toISO(),
|
||||||
updatedAt: null
|
updatedAt: null
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
import * as moment from 'moment';
|
import { DateTime } from 'luxon';
|
||||||
|
|
||||||
|
/* Get the current instant */
|
||||||
|
const now = DateTime.now();
|
||||||
|
|
||||||
export const boards = [
|
export const boards = [
|
||||||
{
|
{
|
||||||
|
@ -7,7 +10,7 @@ export const boards = [
|
||||||
title : 'Admin Dashboard',
|
title : 'Admin Dashboard',
|
||||||
description : 'Roadmap for the new project',
|
description : 'Roadmap for the new project',
|
||||||
icon : 'heroicons_outline:template',
|
icon : 'heroicons_outline:template',
|
||||||
lastActivity: moment().startOf('day').subtract(1, 'day').toISOString(),
|
lastActivity: now.startOf('day').minus({day: 1}).toISO(),
|
||||||
members : [
|
members : [
|
||||||
'9c510cf3-460d-4a8c-b3be-bcc3db578c08',
|
'9c510cf3-460d-4a8c-b3be-bcc3db578c08',
|
||||||
'baa88231-0ee6-4028-96d5-7f187e0f4cd5',
|
'baa88231-0ee6-4028-96d5-7f187e0f4cd5',
|
||||||
|
@ -19,7 +22,7 @@ export const boards = [
|
||||||
title : 'Weekly Planning',
|
title : 'Weekly Planning',
|
||||||
description : 'Job related tasks for the week',
|
description : 'Job related tasks for the week',
|
||||||
icon : 'heroicons_outline:calendar',
|
icon : 'heroicons_outline:calendar',
|
||||||
lastActivity: moment().startOf('day').subtract(2, 'days').toISOString(),
|
lastActivity: now.startOf('day').minus({day: 2}).toISO(),
|
||||||
members : [
|
members : [
|
||||||
'79ebb9ee-1e57-4706-810c-03edaec8f56d',
|
'79ebb9ee-1e57-4706-810c-03edaec8f56d',
|
||||||
'319ecb5b-f99c-4ee4-81b2-3aeffd1d4735',
|
'319ecb5b-f99c-4ee4-81b2-3aeffd1d4735',
|
||||||
|
@ -36,7 +39,7 @@ export const boards = [
|
||||||
title : 'Personal Tasks',
|
title : 'Personal Tasks',
|
||||||
description : 'Personal tasks around the house',
|
description : 'Personal tasks around the house',
|
||||||
icon : 'heroicons_outline:home',
|
icon : 'heroicons_outline:home',
|
||||||
lastActivity: moment().startOf('day').subtract(1, 'week').toISOString(),
|
lastActivity: now.startOf('day').minus({week: 1}).toISO(),
|
||||||
members : [
|
members : [
|
||||||
'6f6a1c34-390b-4b2e-97c8-ff0e0d787839'
|
'6f6a1c34-390b-4b2e-97c8-ff0e0d787839'
|
||||||
]
|
]
|
||||||
|
@ -83,7 +86,7 @@ export const cards = [
|
||||||
'caff9c9b-a198-4564-b1f4-8b3df1d345bb',
|
'caff9c9b-a198-4564-b1f4-8b3df1d345bb',
|
||||||
'f9eeb436-13a3-4208-a239-0d555960a567'
|
'f9eeb436-13a3-4208-a239-0d555960a567'
|
||||||
],
|
],
|
||||||
dueDate : moment().subtract(10, 'days').startOf('day').toISOString()
|
dueDate : now.startOf('day').minus({day: 10}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : 'ed58add1-45a7-41db-887d-3ca7ee7f2719',
|
id : 'ed58add1-45a7-41db-887d-3ca7ee7f2719',
|
||||||
|
@ -105,7 +108,7 @@ export const cards = [
|
||||||
labels : [
|
labels : [
|
||||||
'caff9c9b-a198-4564-b1f4-8b3df1d345bb'
|
'caff9c9b-a198-4564-b1f4-8b3df1d345bb'
|
||||||
],
|
],
|
||||||
dueDate : moment().startOf('day').toISOString()
|
dueDate : now.startOf('day').toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '6da8747f-b474-4c9a-9eba-5ef212285500',
|
id : '6da8747f-b474-4c9a-9eba-5ef212285500',
|
||||||
|
@ -116,7 +119,7 @@ export const cards = [
|
||||||
labels : [
|
labels : [
|
||||||
'caff9c9b-a198-4564-b1f4-8b3df1d345bb'
|
'caff9c9b-a198-4564-b1f4-8b3df1d345bb'
|
||||||
],
|
],
|
||||||
dueDate : moment().subtract(1, 'day').startOf('day').toISOString()
|
dueDate : now.startOf('day').minus({day: 1}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '94fb1dee-dd83-4cca-acdd-02e96d3cc4f1',
|
id : '94fb1dee-dd83-4cca-acdd-02e96d3cc4f1',
|
||||||
|
@ -167,7 +170,7 @@ export const cards = [
|
||||||
position: 131072,
|
position: 131072,
|
||||||
title : 'Create high fidelity wireframes',
|
title : 'Create high fidelity wireframes',
|
||||||
labels : [],
|
labels : [],
|
||||||
dueDate : moment().subtract(10, 'day').startOf('day').toISOString()
|
dueDate : now.startOf('day').minus({day: 10}).toISO()
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : 'b1da11ed-7896-4826-962d-4b7b718896d4',
|
id : 'b1da11ed-7896-4826-962d-4b7b718896d4',
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
import * as moment from 'moment';
|
import { DateTime } from 'luxon';
|
||||||
|
|
||||||
|
/* Get the current instant */
|
||||||
|
const now = DateTime.now();
|
||||||
|
|
||||||
export const messages = [
|
export const messages = [
|
||||||
{
|
{
|
||||||
|
@ -7,7 +10,7 @@ export const messages = [
|
||||||
image : 'assets/images/avatars/male-01.jpg',
|
image : 'assets/images/avatars/male-01.jpg',
|
||||||
title : 'Gary Peters',
|
title : 'Gary Peters',
|
||||||
description: 'We should talk about that at lunch!',
|
description: 'We should talk about that at lunch!',
|
||||||
time : moment().subtract(25, 'minutes').toISOString(), // 25 minutes ago
|
time : now.minus({minutes: 25}).toISO(), // 25 minutes ago
|
||||||
read : false
|
read : false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -15,7 +18,7 @@ export const messages = [
|
||||||
image : 'assets/images/avatars/male-04.jpg',
|
image : 'assets/images/avatars/male-04.jpg',
|
||||||
title : 'Leo Gill (Client #8817)',
|
title : 'Leo Gill (Client #8817)',
|
||||||
description: 'You can download the latest invoices now. Please check and let me know.',
|
description: 'You can download the latest invoices now. Please check and let me know.',
|
||||||
time : moment().subtract(50, 'minutes').toISOString(), // 50 minutes ago
|
time : now.minus({minutes: 50}).toISO(), // 50 minutes ago
|
||||||
read : false
|
read : false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -23,7 +26,7 @@ export const messages = [
|
||||||
image : 'assets/images/avatars/female-01.jpg',
|
image : 'assets/images/avatars/female-01.jpg',
|
||||||
title : 'Sarah',
|
title : 'Sarah',
|
||||||
description: 'Don\'t forget to pickup Jeremy after school!',
|
description: 'Don\'t forget to pickup Jeremy after school!',
|
||||||
time : moment().subtract(3, 'hours').toISOString(), // 3 hours ago
|
time : now.minus({hours: 3}).toISO(), // 3 hours ago
|
||||||
read : true,
|
read : true,
|
||||||
link : '/dashboards/project',
|
link : '/dashboards/project',
|
||||||
useRouter : true
|
useRouter : true
|
||||||
|
@ -33,7 +36,7 @@ export const messages = [
|
||||||
image : 'assets/images/avatars/female-12.jpg',
|
image : 'assets/images/avatars/female-12.jpg',
|
||||||
title : 'Nancy Salazar • Joy Publishing',
|
title : 'Nancy Salazar • Joy Publishing',
|
||||||
description: 'I\'ll proof read your bio on next Monday.',
|
description: 'I\'ll proof read your bio on next Monday.',
|
||||||
time : moment().subtract(5, 'hours').toISOString(), // 5 hours ago
|
time : now.minus({hours: 5}).toISO(), // 5 hours ago
|
||||||
read : true,
|
read : true,
|
||||||
link : '/dashboards/project',
|
link : '/dashboards/project',
|
||||||
useRouter : true
|
useRouter : true
|
||||||
|
@ -43,7 +46,7 @@ export const messages = [
|
||||||
image : 'assets/images/avatars/male-06.jpg',
|
image : 'assets/images/avatars/male-06.jpg',
|
||||||
title : 'Matthew Wood',
|
title : 'Matthew Wood',
|
||||||
description: 'Dude, I heard that they are going to promote you! Congrats man, tonight the drinks are on me!',
|
description: 'Dude, I heard that they are going to promote you! Congrats man, tonight the drinks are on me!',
|
||||||
time : moment().subtract(7, 'hours').toISOString(), // 7 hours ago
|
time : now.minus({hours: 7}).toISO(), // 7 hours ago
|
||||||
read : false,
|
read : false,
|
||||||
link : '/dashboards/project',
|
link : '/dashboards/project',
|
||||||
useRouter : true
|
useRouter : true
|
||||||
|
@ -53,7 +56,7 @@ export const messages = [
|
||||||
image : 'assets/images/avatars/female-04.jpg',
|
image : 'assets/images/avatars/female-04.jpg',
|
||||||
title : 'Elizabeth (New assistant)',
|
title : 'Elizabeth (New assistant)',
|
||||||
description: 'Boss, I\'ve sent all client invoices but Geoffrey refusing to pay.',
|
description: 'Boss, I\'ve sent all client invoices but Geoffrey refusing to pay.',
|
||||||
time : moment().subtract(9, 'hours').toISOString(), // 9 hours ago
|
time : now.minus({hours: 9}).toISO(), // 9 hours ago
|
||||||
read : false,
|
read : false,
|
||||||
link : '/dashboards/project',
|
link : '/dashboards/project',
|
||||||
useRouter : true
|
useRouter : true
|
||||||
|
@ -63,7 +66,7 @@ export const messages = [
|
||||||
image : 'assets/images/avatars/male-06.jpg',
|
image : 'assets/images/avatars/male-06.jpg',
|
||||||
title : 'William Bell',
|
title : 'William Bell',
|
||||||
description: 'Did you see this game? We should hang out and give it a shot sometime.',
|
description: 'Did you see this game? We should hang out and give it a shot sometime.',
|
||||||
time : moment().subtract(1, 'day').toISOString(), // 1 day ago
|
time : now.minus({day: 1}).toISO(), // 1 day ago
|
||||||
read : true,
|
read : true,
|
||||||
link : 'https://www.google.com',
|
link : 'https://www.google.com',
|
||||||
useRouter : false
|
useRouter : false
|
||||||
|
@ -73,7 +76,7 @@ export const messages = [
|
||||||
image : 'assets/images/avatars/female-09.jpg',
|
image : 'assets/images/avatars/female-09.jpg',
|
||||||
title : 'Cheryl Obrien - HR',
|
title : 'Cheryl Obrien - HR',
|
||||||
description: 'Why did\'t you still look at the kitten pictures I\'ve sent to you!',
|
description: 'Why did\'t you still look at the kitten pictures I\'ve sent to you!',
|
||||||
time : moment().subtract(3, 'days').toISOString(), // 3 days ago
|
time : now.minus({day: 3}).toISO(), // 3 days ago
|
||||||
read : false,
|
read : false,
|
||||||
link : '/dashboards/project',
|
link : '/dashboards/project',
|
||||||
useRouter : true
|
useRouter : true
|
||||||
|
@ -83,7 +86,7 @@ export const messages = [
|
||||||
image : 'assets/images/avatars/female-15.jpg',
|
image : 'assets/images/avatars/female-15.jpg',
|
||||||
title : 'Joan Jones - Tech',
|
title : 'Joan Jones - Tech',
|
||||||
description: 'Dude, Cheryl keeps bugging me with kitten pictures all the time :( What are we gonna do about it?',
|
description: 'Dude, Cheryl keeps bugging me with kitten pictures all the time :( What are we gonna do about it?',
|
||||||
time : moment().subtract(4, 'day').toISOString(), // 4 days ago
|
time : now.minus({day: 4}).toISO(), // 4 days ago
|
||||||
read : true,
|
read : true,
|
||||||
link : '/dashboards/project',
|
link : '/dashboards/project',
|
||||||
useRouter : true
|
useRouter : true
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
import * as moment from 'moment';
|
import { DateTime } from 'luxon';
|
||||||
|
|
||||||
|
/* Get the current instant */
|
||||||
|
const now = DateTime.now();
|
||||||
|
|
||||||
export const notifications = [
|
export const notifications = [
|
||||||
{
|
{
|
||||||
|
@ -7,14 +10,14 @@ export const notifications = [
|
||||||
icon : 'heroicons_solid:star',
|
icon : 'heroicons_solid:star',
|
||||||
title : 'Daily challenges',
|
title : 'Daily challenges',
|
||||||
description: 'Your submission has been accepted',
|
description: 'Your submission has been accepted',
|
||||||
time : moment().subtract(25, 'minutes').toISOString(), // 25 minutes ago
|
time : now.minus({minute: 25}).toISO(), // 25 minutes ago
|
||||||
read : false
|
read : false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '6e3e97e5-effc-4fb7-b730-52a151f0b641',
|
id : '6e3e97e5-effc-4fb7-b730-52a151f0b641',
|
||||||
image : 'assets/images/avatars/male-04.jpg',
|
image : 'assets/images/avatars/male-04.jpg',
|
||||||
description: '<strong>Leo Gill</strong> added you to <em>Top Secret Project</em> group and assigned you as a <em>Project Manager</em>',
|
description: '<strong>Leo Gill</strong> added you to <em>Top Secret Project</em> group and assigned you as a <em>Project Manager</em>',
|
||||||
time : moment().subtract(50, 'minutes').toISOString(), // 50 minutes ago
|
time : now.minus({minute: 50}).toISO(), // 50 minutes ago
|
||||||
read : true,
|
read : true,
|
||||||
link : '/dashboards/project',
|
link : '/dashboards/project',
|
||||||
useRouter : true
|
useRouter : true
|
||||||
|
@ -24,7 +27,7 @@ export const notifications = [
|
||||||
icon : 'heroicons_solid:mail',
|
icon : 'heroicons_solid:mail',
|
||||||
title : 'Mailbox',
|
title : 'Mailbox',
|
||||||
description: 'You have 15 unread mails across 3 mailboxes',
|
description: 'You have 15 unread mails across 3 mailboxes',
|
||||||
time : moment().subtract(3, 'hours').toISOString(), // 3 hours ago
|
time : now.minus({hour: 3}).toISO(), // 3 hours ago
|
||||||
read : false,
|
read : false,
|
||||||
link : '/dashboards/project',
|
link : '/dashboards/project',
|
||||||
useRouter : true
|
useRouter : true
|
||||||
|
@ -34,7 +37,7 @@ export const notifications = [
|
||||||
icon : 'heroicons_solid:refresh',
|
icon : 'heroicons_solid:refresh',
|
||||||
title : 'Cron jobs',
|
title : 'Cron jobs',
|
||||||
description: 'Your <em>Docker container</em> is ready to publish',
|
description: 'Your <em>Docker container</em> is ready to publish',
|
||||||
time : moment().subtract(5, 'hours').toISOString(), // 5 hours ago
|
time : now.minus({hour: 5}).toISO(), // 5 hours ago
|
||||||
read : false,
|
read : false,
|
||||||
link : '/dashboards/project',
|
link : '/dashboards/project',
|
||||||
useRouter : true
|
useRouter : true
|
||||||
|
@ -43,7 +46,7 @@ export const notifications = [
|
||||||
id : 'ef7b95a7-8e8b-4616-9619-130d9533add9',
|
id : 'ef7b95a7-8e8b-4616-9619-130d9533add9',
|
||||||
image : 'assets/images/avatars/male-06.jpg',
|
image : 'assets/images/avatars/male-06.jpg',
|
||||||
description: '<strong>Roger Murray</strong> accepted your friend request',
|
description: '<strong>Roger Murray</strong> accepted your friend request',
|
||||||
time : moment().subtract(7, 'hours').toISOString(), // 7 hours ago
|
time : now.minus({hour: 7}).toISO(), // 7 hours ago
|
||||||
read : true,
|
read : true,
|
||||||
link : '/dashboards/project',
|
link : '/dashboards/project',
|
||||||
useRouter : true
|
useRouter : true
|
||||||
|
@ -52,7 +55,7 @@ export const notifications = [
|
||||||
id : 'eb8aa470-635e-461d-88e1-23d9ea2a5665',
|
id : 'eb8aa470-635e-461d-88e1-23d9ea2a5665',
|
||||||
image : 'assets/images/avatars/female-04.jpg',
|
image : 'assets/images/avatars/female-04.jpg',
|
||||||
description: '<strong>Sophie Stone</strong> sent you a direct message',
|
description: '<strong>Sophie Stone</strong> sent you a direct message',
|
||||||
time : moment().subtract(9, 'hours').toISOString(), // 9 hours ago
|
time : now.minus({hour: 9}).toISO(), // 9 hours ago
|
||||||
read : true,
|
read : true,
|
||||||
link : '/dashboards/project',
|
link : '/dashboards/project',
|
||||||
useRouter : true
|
useRouter : true
|
||||||
|
@ -62,7 +65,7 @@ export const notifications = [
|
||||||
icon : 'heroicons_solid:mail',
|
icon : 'heroicons_solid:mail',
|
||||||
title : 'Mailbox',
|
title : 'Mailbox',
|
||||||
description: 'You have 3 new mails',
|
description: 'You have 3 new mails',
|
||||||
time : moment().subtract(1, 'day').toISOString(), // 1 day ago
|
time : now.minus({day: 1}).toISO(), // 1 day ago
|
||||||
read : true,
|
read : true,
|
||||||
link : '/dashboards/project',
|
link : '/dashboards/project',
|
||||||
useRouter : true
|
useRouter : true
|
||||||
|
@ -72,7 +75,7 @@ export const notifications = [
|
||||||
icon : 'heroicons_solid:star',
|
icon : 'heroicons_solid:star',
|
||||||
title : 'Daily challenges',
|
title : 'Daily challenges',
|
||||||
description: 'Your submission has been accepted and you are ready to sign-up for the final assigment which will be ready in 2 days',
|
description: 'Your submission has been accepted and you are ready to sign-up for the final assigment which will be ready in 2 days',
|
||||||
time : moment().subtract(3, 'days').toISOString(), // 3 days ago
|
time : now.minus({day: 3}).toISO(), // 3 days ago
|
||||||
read : true,
|
read : true,
|
||||||
link : '/dashboards/project',
|
link : '/dashboards/project',
|
||||||
useRouter : true
|
useRouter : true
|
||||||
|
@ -82,7 +85,7 @@ export const notifications = [
|
||||||
icon : 'heroicons_solid:refresh',
|
icon : 'heroicons_solid:refresh',
|
||||||
title : 'Cron jobs',
|
title : 'Cron jobs',
|
||||||
description: 'Your Vagrant container is ready to download',
|
description: 'Your Vagrant container is ready to download',
|
||||||
time : moment().subtract(4, 'day').toISOString(), // 4 days ago
|
time : now.minus({day: 4}).toISO(), // 4 days ago
|
||||||
read : true,
|
read : true,
|
||||||
link : '/dashboards/project',
|
link : '/dashboards/project',
|
||||||
useRouter : true
|
useRouter : true
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,4 +1,7 @@
|
||||||
import * as moment from 'moment';
|
import { DateTime } from 'luxon';
|
||||||
|
|
||||||
|
/* Get the current instant */
|
||||||
|
const now = DateTime.now();
|
||||||
|
|
||||||
/* tslint:disable:max-line-length */
|
/* tslint:disable:max-line-length */
|
||||||
export const crypto = {
|
export const crypto = {
|
||||||
|
@ -628,83 +631,83 @@ export const crypto = {
|
||||||
name: 'Price',
|
name: 'Price',
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
x: moment().subtract(20, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 20}).toFormat('HH:mm'),
|
||||||
y: 154.36
|
y: 154.36
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(19, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 19}).toFormat('HH:mm'),
|
||||||
y: 154.36
|
y: 154.36
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(18, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 18}).toFormat('HH:mm'),
|
||||||
y: 146.94
|
y: 146.94
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(17, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 17}).toFormat('HH:mm'),
|
||||||
y: 146.96
|
y: 146.96
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(16, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 16}).toFormat('HH:mm'),
|
||||||
y: 146.11
|
y: 146.11
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(15, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 15}).toFormat('HH:mm'),
|
||||||
y: 150.26
|
y: 150.26
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(14, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 14}).toFormat('HH:mm'),
|
||||||
y: 146.11
|
y: 146.11
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(13, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 13}).toFormat('HH:mm'),
|
||||||
y: 150.79
|
y: 150.79
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(12, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 12}).toFormat('HH:mm'),
|
||||||
y: 145.36
|
y: 145.36
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(11, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 11}).toFormat('HH:mm'),
|
||||||
y: 141.06
|
y: 141.06
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(10, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 10}).toFormat('HH:mm'),
|
||||||
y: 140.10
|
y: 140.10
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(9, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 9}).toFormat('HH:mm'),
|
||||||
y: 138.31
|
y: 138.31
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(8, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 8}).toFormat('HH:mm'),
|
||||||
y: 138.42
|
y: 138.42
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(7, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 7}).toFormat('HH:mm'),
|
||||||
y: 138.48
|
y: 138.48
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(6, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 6}).toFormat('HH:mm'),
|
||||||
y: 138.71
|
y: 138.71
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(5, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 5}).toFormat('HH:mm'),
|
||||||
y: 148.42
|
y: 148.42
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(4, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 4}).toFormat('HH:mm'),
|
||||||
y: 146.87
|
y: 146.87
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(3, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 3}).toFormat('HH:mm'),
|
||||||
y: 147.07
|
y: 147.07
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(2, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 2}).toFormat('HH:mm'),
|
||||||
y: 135.07
|
y: 135.07
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(1, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 1}).toFormat('HH:mm'),
|
||||||
y: 135.01
|
y: 135.01
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -724,83 +727,83 @@ export const crypto = {
|
||||||
name: 'Price',
|
name: 'Price',
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
x: moment().subtract(20, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 20}).toFormat('HH:mm'),
|
||||||
y: 374.77
|
y: 374.77
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(19, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 19}).toFormat('HH:mm'),
|
||||||
y: 374.41
|
y: 374.41
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(18, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 18}).toFormat('HH:mm'),
|
||||||
y: 375.08
|
y: 375.08
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(17, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 17}).toFormat('HH:mm'),
|
||||||
y: 375.08
|
y: 375.08
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(16, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 16}).toFormat('HH:mm'),
|
||||||
y: 374.09
|
y: 374.09
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(15, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 15}).toFormat('HH:mm'),
|
||||||
y: 368.84
|
y: 368.84
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(14, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 14}).toFormat('HH:mm'),
|
||||||
y: 367.49
|
y: 367.49
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(13, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 13}).toFormat('HH:mm'),
|
||||||
y: 359.75
|
y: 359.75
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(12, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 12}).toFormat('HH:mm'),
|
||||||
y: 366.65
|
y: 366.65
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(11, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 11}).toFormat('HH:mm'),
|
||||||
y: 367.52
|
y: 367.52
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(10, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 10}).toFormat('HH:mm'),
|
||||||
y: 367.59
|
y: 367.59
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(9, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 9}).toFormat('HH:mm'),
|
||||||
y: 364.18
|
y: 364.18
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(8, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 8}).toFormat('HH:mm'),
|
||||||
y: 370.11
|
y: 370.11
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(7, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 7}).toFormat('HH:mm'),
|
||||||
y: 362.70
|
y: 362.70
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(6, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 6}).toFormat('HH:mm'),
|
||||||
y: 362.70
|
y: 362.70
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(5, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 5}).toFormat('HH:mm'),
|
||||||
y: 362.77
|
y: 362.77
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(4, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 4}).toFormat('HH:mm'),
|
||||||
y: 369.46
|
y: 369.46
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(3, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 3}).toFormat('HH:mm'),
|
||||||
y: 371.04
|
y: 371.04
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(2, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 2}).toFormat('HH:mm'),
|
||||||
y: 371.48
|
y: 371.48
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(1, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 1}).toFormat('HH:mm'),
|
||||||
y: 371.30
|
y: 371.30
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -820,83 +823,83 @@ export const crypto = {
|
||||||
name: 'Price',
|
name: 'Price',
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
x: moment().subtract(20, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 20}).toFormat('HH:mm'),
|
||||||
y: 0.258
|
y: 0.258
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(19, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 19}).toFormat('HH:mm'),
|
||||||
y: 0.256
|
y: 0.256
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(18, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 18}).toFormat('HH:mm'),
|
||||||
y: 0.255
|
y: 0.255
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(17, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 17}).toFormat('HH:mm'),
|
||||||
y: 0.255
|
y: 0.255
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(16, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 16}).toFormat('HH:mm'),
|
||||||
y: 0.254
|
y: 0.254
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(15, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 15}).toFormat('HH:mm'),
|
||||||
y: 0.248
|
y: 0.248
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(14, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 14}).toFormat('HH:mm'),
|
||||||
y: 0.247
|
y: 0.247
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(13, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 13}).toFormat('HH:mm'),
|
||||||
y: 0.249
|
y: 0.249
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(12, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 12}).toFormat('HH:mm'),
|
||||||
y: 0.246
|
y: 0.246
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(11, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 11}).toFormat('HH:mm'),
|
||||||
y: 0.247
|
y: 0.247
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(10, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 10}).toFormat('HH:mm'),
|
||||||
y: 0.247
|
y: 0.247
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(9, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 9}).toFormat('HH:mm'),
|
||||||
y: 0.244
|
y: 0.244
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(8, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 8}).toFormat('HH:mm'),
|
||||||
y: 0.250
|
y: 0.250
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(7, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 7}).toFormat('HH:mm'),
|
||||||
y: 0.242
|
y: 0.242
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(6, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 6}).toFormat('HH:mm'),
|
||||||
y: 0.251
|
y: 0.251
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(5, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 5}).toFormat('HH:mm'),
|
||||||
y: 0.251
|
y: 0.251
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(4, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 4}).toFormat('HH:mm'),
|
||||||
y: 0.251
|
y: 0.251
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(3, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 3}).toFormat('HH:mm'),
|
||||||
y: 0.249
|
y: 0.249
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(2, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 2}).toFormat('HH:mm'),
|
||||||
y: 0.242
|
y: 0.242
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(1, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 1}).toFormat('HH:mm'),
|
||||||
y: 0.240
|
y: 0.240
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -916,83 +919,83 @@ export const crypto = {
|
||||||
name: 'Price',
|
name: 'Price',
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
x: moment().subtract(20, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 20}).toFormat('HH:mm'),
|
||||||
y: 62.54
|
y: 62.54
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(19, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 19}).toFormat('HH:mm'),
|
||||||
y: 61.54
|
y: 61.54
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(18, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 18}).toFormat('HH:mm'),
|
||||||
y: 62.55
|
y: 62.55
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(17, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 17}).toFormat('HH:mm'),
|
||||||
y: 60.55
|
y: 60.55
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(16, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 16}).toFormat('HH:mm'),
|
||||||
y: 59.54
|
y: 59.54
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(15, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 15}).toFormat('HH:mm'),
|
||||||
y: 58.48
|
y: 58.48
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(14, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 14}).toFormat('HH:mm'),
|
||||||
y: 54.47
|
y: 54.47
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(13, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 13}).toFormat('HH:mm'),
|
||||||
y: 51.49
|
y: 51.49
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(12, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 12}).toFormat('HH:mm'),
|
||||||
y: 51.46
|
y: 51.46
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(11, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 11}).toFormat('HH:mm'),
|
||||||
y: 53.47
|
y: 53.47
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(10, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 10}).toFormat('HH:mm'),
|
||||||
y: 52.47
|
y: 52.47
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(9, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 9}).toFormat('HH:mm'),
|
||||||
y: 54.44
|
y: 54.44
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(8, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 8}).toFormat('HH:mm'),
|
||||||
y: 59.50
|
y: 59.50
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(7, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 7}).toFormat('HH:mm'),
|
||||||
y: 62.42
|
y: 62.42
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(6, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 6}).toFormat('HH:mm'),
|
||||||
y: 61.42
|
y: 61.42
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(5, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 5}).toFormat('HH:mm'),
|
||||||
y: 60.42
|
y: 60.42
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(4, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 4}).toFormat('HH:mm'),
|
||||||
y: 58.49
|
y: 58.49
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(3, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 3}).toFormat('HH:mm'),
|
||||||
y: 57.51
|
y: 57.51
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(2, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 2}).toFormat('HH:mm'),
|
||||||
y: 54.51
|
y: 54.51
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(1, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 1}).toFormat('HH:mm'),
|
||||||
y: 51.25
|
y: 51.25
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -1012,83 +1015,83 @@ export const crypto = {
|
||||||
name: 'Price',
|
name: 'Price',
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
x: moment().subtract(20, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 20}).toFormat('HH:mm'),
|
||||||
y: 53.54
|
y: 53.54
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(19, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 19}).toFormat('HH:mm'),
|
||||||
y: 52.54
|
y: 52.54
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(18, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 18}).toFormat('HH:mm'),
|
||||||
y: 52.55
|
y: 52.55
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(17, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 17}).toFormat('HH:mm'),
|
||||||
y: 46.44
|
y: 46.44
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(16, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 16}).toFormat('HH:mm'),
|
||||||
y: 49.50
|
y: 49.50
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(15, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 15}).toFormat('HH:mm'),
|
||||||
y: 55.42
|
y: 55.42
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(14, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 14}).toFormat('HH:mm'),
|
||||||
y: 54.42
|
y: 54.42
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(13, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 13}).toFormat('HH:mm'),
|
||||||
y: 43.49
|
y: 43.49
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(12, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 12}).toFormat('HH:mm'),
|
||||||
y: 43.46
|
y: 43.46
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(11, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 11}).toFormat('HH:mm'),
|
||||||
y: 41.47
|
y: 41.47
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(10, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 10}).toFormat('HH:mm'),
|
||||||
y: 41.47
|
y: 41.47
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(9, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 9}).toFormat('HH:mm'),
|
||||||
y: 51.55
|
y: 51.55
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(8, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 8}).toFormat('HH:mm'),
|
||||||
y: 48.54
|
y: 48.54
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(7, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 7}).toFormat('HH:mm'),
|
||||||
y: 49.48
|
y: 49.48
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(6, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 6}).toFormat('HH:mm'),
|
||||||
y: 45.47
|
y: 45.47
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(5, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 5}).toFormat('HH:mm'),
|
||||||
y: 51.42
|
y: 51.42
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(4, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 4}).toFormat('HH:mm'),
|
||||||
y: 49.49
|
y: 49.49
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(3, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 3}).toFormat('HH:mm'),
|
||||||
y: 46.51
|
y: 46.51
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(2, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 2}).toFormat('HH:mm'),
|
||||||
y: 41.51
|
y: 41.51
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(1, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 1}).toFormat('HH:mm'),
|
||||||
y: 44.25
|
y: 44.25
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -1108,83 +1111,83 @@ export const crypto = {
|
||||||
name: 'Price',
|
name: 'Price',
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
x: moment().subtract(20, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 20}).toFormat('HH:mm'),
|
||||||
y: 14.77
|
y: 14.77
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(19, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 19}).toFormat('HH:mm'),
|
||||||
y: 14.41
|
y: 14.41
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(18, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 18}).toFormat('HH:mm'),
|
||||||
y: 15.08
|
y: 15.08
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(17, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 17}).toFormat('HH:mm'),
|
||||||
y: 15.08
|
y: 15.08
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(16, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 16}).toFormat('HH:mm'),
|
||||||
y: 14.09
|
y: 14.09
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(15, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 15}).toFormat('HH:mm'),
|
||||||
y: 18.84
|
y: 18.84
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(14, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 14}).toFormat('HH:mm'),
|
||||||
y: 17.49
|
y: 17.49
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(13, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 13}).toFormat('HH:mm'),
|
||||||
y: 19.75
|
y: 19.75
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(12, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 12}).toFormat('HH:mm'),
|
||||||
y: 16.65
|
y: 16.65
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(11, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 11}).toFormat('HH:mm'),
|
||||||
y: 17.52
|
y: 17.52
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(10, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 10}).toFormat('HH:mm'),
|
||||||
y: 17.59
|
y: 17.59
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(9, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 9}).toFormat('HH:mm'),
|
||||||
y: 14.18
|
y: 14.18
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(8, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 8}).toFormat('HH:mm'),
|
||||||
y: 10.11
|
y: 10.11
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(7, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 7}).toFormat('HH:mm'),
|
||||||
y: 12.70
|
y: 12.70
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(6, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 6}).toFormat('HH:mm'),
|
||||||
y: 12.70
|
y: 12.70
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(5, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 5}).toFormat('HH:mm'),
|
||||||
y: 12.77
|
y: 12.77
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(4, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 4}).toFormat('HH:mm'),
|
||||||
y: 19.46
|
y: 19.46
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(3, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 3}).toFormat('HH:mm'),
|
||||||
y: 11.04
|
y: 11.04
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(2, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 2}).toFormat('HH:mm'),
|
||||||
y: 11.48
|
y: 11.48
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
x: moment().subtract(1, 'minutes').format('HH:mm'),
|
x: now.minus({minutes: 1}).toFormat('HH:mm'),
|
||||||
y: 11.30
|
y: 11.30
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,5 +1,8 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
import * as moment from 'moment';
|
import { DateTime } from 'luxon';
|
||||||
|
|
||||||
|
/* Get the current instant */
|
||||||
|
const now = DateTime.now();
|
||||||
|
|
||||||
export const project = {
|
export const project = {
|
||||||
githubIssues : {
|
githubIssues : {
|
||||||
|
@ -148,12 +151,12 @@ export const project = {
|
||||||
weeklyExpenses : {
|
weeklyExpenses : {
|
||||||
amount: 17663,
|
amount: 17663,
|
||||||
labels: [
|
labels: [
|
||||||
moment().subtract(47, 'days').format('DD MMM') + ' - ' + moment().subtract(40, 'days').format('DD MMM'),
|
now.minus({days: 47}).toFormat('dd MMM') + ' - ' + now.minus({days: 40}).toFormat('dd MMM'),
|
||||||
moment().subtract(39, 'days').format('DD MMM') + ' - ' + moment().subtract(32, 'days').format('DD MMM'),
|
now.minus({days: 39}).toFormat('dd MMM') + ' - ' + now.minus({days: 32}).toFormat('dd MMM'),
|
||||||
moment().subtract(31, 'days').format('DD MMM') + ' - ' + moment().subtract(24, 'days').format('DD MMM'),
|
now.minus({days: 31}).toFormat('dd MMM') + ' - ' + now.minus({days: 24}).toFormat('dd MMM'),
|
||||||
moment().subtract(23, 'days').format('DD MMM') + ' - ' + moment().subtract(16, 'days').format('DD MMM'),
|
now.minus({days: 23}).toFormat('dd MMM') + ' - ' + now.minus({days: 16}).toFormat('dd MMM'),
|
||||||
moment().subtract(15, 'days').format('DD MMM') + ' - ' + moment().subtract(8, 'days').format('DD MMM'),
|
now.minus({days: 15}).toFormat('dd MMM') + ' - ' + now.minus({days: 8}).toFormat('dd MMM'),
|
||||||
moment().subtract(7, 'days').format('DD MMM') + ' - ' + moment().format('DD MMM')
|
now.minus({days: 7}).toFormat('dd MMM') + ' - ' + now.toFormat('dd MMM')
|
||||||
],
|
],
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
|
@ -165,10 +168,10 @@ export const project = {
|
||||||
monthlyExpenses : {
|
monthlyExpenses : {
|
||||||
amount: 54663,
|
amount: 54663,
|
||||||
labels: [
|
labels: [
|
||||||
moment().subtract(31, 'days').format('DD MMM') + ' - ' + moment().subtract(24, 'days').format('DD MMM'),
|
now.minus({days: 31}).toFormat('dd MMM') + ' - ' + now.minus({days: 24}).toFormat('dd MMM'),
|
||||||
moment().subtract(23, 'days').format('DD MMM') + ' - ' + moment().subtract(16, 'days').format('DD MMM'),
|
now.minus({days: 23}).toFormat('dd MMM') + ' - ' + now.minus({days: 16}).toFormat('dd MMM'),
|
||||||
moment().subtract(15, 'days').format('DD MMM') + ' - ' + moment().subtract(8, 'days').format('DD MMM'),
|
now.minus({days: 15}).toFormat('dd MMM') + ' - ' + now.minus({days: 8}).toFormat('dd MMM'),
|
||||||
moment().subtract(7, 'days').format('DD MMM') + ' - ' + moment().format('DD MMM')
|
now.minus({days: 7}).toFormat('dd MMM') + ' - ' + now.toFormat('dd MMM')
|
||||||
],
|
],
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
|
@ -180,16 +183,16 @@ export const project = {
|
||||||
yearlyExpenses : {
|
yearlyExpenses : {
|
||||||
amount: 648813,
|
amount: 648813,
|
||||||
labels: [
|
labels: [
|
||||||
moment().subtract(79, 'days').format('DD MMM') + ' - ' + moment().subtract(72, 'days').format('DD MMM'),
|
now.minus({days: 79}).toFormat('dd MMM') + ' - ' + now.minus({days: 72}).toFormat('dd MMM'),
|
||||||
moment().subtract(71, 'days').format('DD MMM') + ' - ' + moment().subtract(64, 'days').format('DD MMM'),
|
now.minus({days: 71}).toFormat('dd MMM') + ' - ' + now.minus({days: 64}).toFormat('dd MMM'),
|
||||||
moment().subtract(63, 'days').format('DD MMM') + ' - ' + moment().subtract(56, 'days').format('DD MMM'),
|
now.minus({days: 63}).toFormat('dd MMM') + ' - ' + now.minus({days: 56}).toFormat('dd MMM'),
|
||||||
moment().subtract(55, 'days').format('DD MMM') + ' - ' + moment().subtract(48, 'days').format('DD MMM'),
|
now.minus({days: 55}).toFormat('dd MMM') + ' - ' + now.minus({days: 48}).toFormat('dd MMM'),
|
||||||
moment().subtract(47, 'days').format('DD MMM') + ' - ' + moment().subtract(40, 'days').format('DD MMM'),
|
now.minus({days: 47}).toFormat('dd MMM') + ' - ' + now.minus({days: 40}).toFormat('dd MMM'),
|
||||||
moment().subtract(39, 'days').format('DD MMM') + ' - ' + moment().subtract(32, 'days').format('DD MMM'),
|
now.minus({days: 39}).toFormat('dd MMM') + ' - ' + now.minus({days: 32}).toFormat('dd MMM'),
|
||||||
moment().subtract(31, 'days').format('DD MMM') + ' - ' + moment().subtract(24, 'days').format('DD MMM'),
|
now.minus({days: 31}).toFormat('dd MMM') + ' - ' + now.minus({days: 24}).toFormat('dd MMM'),
|
||||||
moment().subtract(23, 'days').format('DD MMM') + ' - ' + moment().subtract(16, 'days').format('DD MMM'),
|
now.minus({days: 23}).toFormat('dd MMM') + ' - ' + now.minus({days: 16}).toFormat('dd MMM'),
|
||||||
moment().subtract(15, 'days').format('DD MMM') + ' - ' + moment().subtract(8, 'days').format('DD MMM'),
|
now.minus({days: 15}).toFormat('dd MMM') + ' - ' + now.minus({days: 8}).toFormat('dd MMM'),
|
||||||
moment().subtract(7, 'days').format('DD MMM') + ' - ' + moment().format('DD MMM')
|
now.minus({days: 7}).toFormat('dd MMM') + ' - ' + now.toFormat('dd MMM')
|
||||||
],
|
],
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
import * as moment from 'moment';
|
import { DateTime } from 'luxon';
|
||||||
|
|
||||||
|
/* Get the current instant */
|
||||||
|
const now = DateTime.now();
|
||||||
|
|
||||||
export const activities = [
|
export const activities = [
|
||||||
{
|
{
|
||||||
id : '493190c9-5b61-4912-afe5-78c21f1044d7',
|
id : '493190c9-5b61-4912-afe5-78c21f1044d7',
|
||||||
icon : 'heroicons_solid:star',
|
icon : 'heroicons_solid:star',
|
||||||
description : 'Your submission has been accepted',
|
description : 'Your submission has been accepted',
|
||||||
date : moment().subtract(25, 'minutes').toISOString(), // 25 minutes ago
|
date : now.minus({minutes: 25}).toISO(), // 25 minutes ago
|
||||||
extraContent: `<div class="font-bold">Congratulations for your acceptance!</div><br>
|
extraContent: `<div class="font-bold">Congratulations for your acceptance!</div><br>
|
||||||
<div>Hi Brian,<br>Your submission has been accepted and you are ready to move into the next phase. Once you are ready, reach out to me and we will ...</div>`
|
<div>Hi Brian,<br>Your submission has been accepted and you are ready to move into the next phase. Once you are ready, reach out to me and we will ...</div>`
|
||||||
},
|
},
|
||||||
|
@ -14,7 +17,7 @@ export const activities = [
|
||||||
id : '6e3e97e5-effc-4fb7-b730-52a151f0b641',
|
id : '6e3e97e5-effc-4fb7-b730-52a151f0b641',
|
||||||
image : 'assets/images/avatars/male-04.jpg',
|
image : 'assets/images/avatars/male-04.jpg',
|
||||||
description : '<strong>Leo Gill</strong> added you to <strong>Top Secret Project</strong> group and assigned you as a <strong>Project Manager</strong>',
|
description : '<strong>Leo Gill</strong> added you to <strong>Top Secret Project</strong> group and assigned you as a <strong>Project Manager</strong>',
|
||||||
date : moment().subtract(50, 'minutes').toISOString(), // 50 minutes ago
|
date : now.minus({minutes: 50}).toISO(), // 50 minutes ago
|
||||||
linkedContent: 'Top Secret Project',
|
linkedContent: 'Top Secret Project',
|
||||||
link : '/dashboards/project',
|
link : '/dashboards/project',
|
||||||
useRouter : true
|
useRouter : true
|
||||||
|
@ -23,7 +26,7 @@ export const activities = [
|
||||||
id : 'b91ccb58-b06c-413b-b389-87010e03a120',
|
id : 'b91ccb58-b06c-413b-b389-87010e03a120',
|
||||||
icon : 'heroicons_solid:mail',
|
icon : 'heroicons_solid:mail',
|
||||||
description : 'You have 15 unread mails across 3 mailboxes',
|
description : 'You have 15 unread mails across 3 mailboxes',
|
||||||
date : moment().subtract(3, 'hours').toISOString(), // 3 hours ago
|
date : now.minus({hours: 3}).toISO(), // 3 hours ago
|
||||||
linkedContent: 'Mailbox',
|
linkedContent: 'Mailbox',
|
||||||
link : '/apps/mailbox',
|
link : '/apps/mailbox',
|
||||||
useRouter : true
|
useRouter : true
|
||||||
|
@ -32,7 +35,7 @@ export const activities = [
|
||||||
id : '541416c9-84a7-408a-8d74-27a43c38d797',
|
id : '541416c9-84a7-408a-8d74-27a43c38d797',
|
||||||
icon : 'heroicons_solid:refresh',
|
icon : 'heroicons_solid:refresh',
|
||||||
description : 'Your <strong>Docker container</strong> is ready to publish',
|
description : 'Your <strong>Docker container</strong> is ready to publish',
|
||||||
date : moment().subtract(5, 'hours').toISOString(), // 5 hours ago
|
date : now.minus({hours: 5}).toISO(), // 5 hours ago
|
||||||
linkedContent: 'Download the container',
|
linkedContent: 'Download the container',
|
||||||
link : '.',
|
link : '.',
|
||||||
useRouter : true
|
useRouter : true
|
||||||
|
@ -41,20 +44,20 @@ export const activities = [
|
||||||
id : 'ef7b95a7-8e8b-4616-9619-130d9533add9',
|
id : 'ef7b95a7-8e8b-4616-9619-130d9533add9',
|
||||||
image : 'assets/images/avatars/male-06.jpg',
|
image : 'assets/images/avatars/male-06.jpg',
|
||||||
description : '<strong>Roger Murray</strong> accepted your friend request',
|
description : '<strong>Roger Murray</strong> accepted your friend request',
|
||||||
date : moment().subtract(7, 'hours').toISOString(), // 7 hours ago
|
date : now.minus({hours: 7}).toISO(), // 7 hours ago
|
||||||
extraContent: `You have <span class="font-semibold">8</span> mutual friends.`
|
extraContent: `You have <span class="font-semibold">8</span> mutual friends.`
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : 'eb8aa470-635e-461d-88e1-23d9ea2a5665',
|
id : 'eb8aa470-635e-461d-88e1-23d9ea2a5665',
|
||||||
image : 'assets/images/avatars/female-04.jpg',
|
image : 'assets/images/avatars/female-04.jpg',
|
||||||
description: '<strong>Sophie Stone</strong> sent you a direct message',
|
description: '<strong>Sophie Stone</strong> sent you a direct message',
|
||||||
date : moment().subtract(9, 'hours').toISOString() // 9 hours ago
|
date : now.minus({hours: 9}).toISO() // 9 hours ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : 'b85c2338-cc98-4140-bbf8-c226ce4e395e',
|
id : 'b85c2338-cc98-4140-bbf8-c226ce4e395e',
|
||||||
icon : 'heroicons_solid:mail',
|
icon : 'heroicons_solid:mail',
|
||||||
description : 'You have 3 new mails',
|
description : 'You have 3 new mails',
|
||||||
date : moment().subtract(1, 'day').toISOString(), // 1 day ago
|
date : now.minus({day: 1}).toISO(), // 1 day ago
|
||||||
extraContent : `<ol class="list-decimal list-inside space-y-2">
|
extraContent : `<ol class="list-decimal list-inside space-y-2">
|
||||||
<li class="font-medium">Please review and sign the attached agreement</li>
|
<li class="font-medium">Please review and sign the attached agreement</li>
|
||||||
<li class="font-medium">Delivery address confirmation</li>
|
<li class="font-medium">Delivery address confirmation</li>
|
||||||
|
@ -68,7 +71,7 @@ export const activities = [
|
||||||
id : 'fd0f01b4-f3de-4333-add5-cd86850279f8',
|
id : 'fd0f01b4-f3de-4333-add5-cd86850279f8',
|
||||||
image : 'assets/images/avatars/female-02.jpg',
|
image : 'assets/images/avatars/female-02.jpg',
|
||||||
description : '<strong>Tina Harris</strong> started a chat with you',
|
description : '<strong>Tina Harris</strong> started a chat with you',
|
||||||
date : moment().subtract(1, 'day').toISOString(), // 1 day ago,
|
date : now.minus({day: 1}).toISO(), // 1 day ago,
|
||||||
linkedContent: 'Go to Chat (Tina Harris)',
|
linkedContent: 'Go to Chat (Tina Harris)',
|
||||||
link : '/apps/chat/5636c0ba-fa47-42ca-9160-27340583041e',
|
link : '/apps/chat/5636c0ba-fa47-42ca-9160-27340583041e',
|
||||||
useRouter : true
|
useRouter : true
|
||||||
|
@ -77,12 +80,12 @@ export const activities = [
|
||||||
id : '8f8e1bf9-4661-4939-9e43-390957b60f42',
|
id : '8f8e1bf9-4661-4939-9e43-390957b60f42',
|
||||||
icon : 'heroicons_solid:star',
|
icon : 'heroicons_solid:star',
|
||||||
description: 'Your submission has been accepted and you are ready to sign-up for the final assigment which will be ready in 2 days',
|
description: 'Your submission has been accepted and you are ready to sign-up for the final assigment which will be ready in 2 days',
|
||||||
date : moment().subtract(3, 'days').toISOString() // 3 days ago
|
date : now.minus({days: 3}).toISO() // 3 days ago
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id : '30af917b-7a6a-45d1-822f-9e7ad7f8bf69',
|
id : '30af917b-7a6a-45d1-822f-9e7ad7f8bf69',
|
||||||
icon : 'heroicons_solid:refresh',
|
icon : 'heroicons_solid:refresh',
|
||||||
description: 'Your Vagrant container is ready to download',
|
description: 'Your Vagrant container is ready to download',
|
||||||
date : moment().subtract(4, 'day').toISOString() // 4 days ago
|
date : now.minus({day: 4}).toISO() // 4 days ago
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
@ -8,15 +8,14 @@ import { MatDividerModule } from '@angular/material/divider';
|
||||||
import { MatFormFieldModule } from '@angular/material/form-field';
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
||||||
import { MatIconModule } from '@angular/material/icon';
|
import { MatIconModule } from '@angular/material/icon';
|
||||||
import { MatInputModule } from '@angular/material/input';
|
import { MatInputModule } from '@angular/material/input';
|
||||||
|
import { MatLuxonDateModule } from '@angular/material-luxon-adapter';
|
||||||
import { MatMenuModule } from '@angular/material/menu';
|
import { MatMenuModule } from '@angular/material/menu';
|
||||||
import { MatMomentDateModule } from '@angular/material-moment-adapter';
|
|
||||||
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
||||||
import { MatRadioModule } from '@angular/material/radio';
|
import { MatRadioModule } from '@angular/material/radio';
|
||||||
import { MatSelectModule } from '@angular/material/select';
|
import { MatSelectModule } from '@angular/material/select';
|
||||||
import { MatSidenavModule } from '@angular/material/sidenav';
|
import { MatSidenavModule } from '@angular/material/sidenav';
|
||||||
import { MatTableModule } from '@angular/material/table';
|
import { MatTableModule } from '@angular/material/table';
|
||||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||||
import * as moment from 'moment';
|
|
||||||
import { FuseFindByKeyPipeModule } from '@fuse/pipes/find-by-key';
|
import { FuseFindByKeyPipeModule } from '@fuse/pipes/find-by-key';
|
||||||
import { SharedModule } from 'app/shared/shared.module';
|
import { SharedModule } from 'app/shared/shared.module';
|
||||||
import { contactsRoutes } from 'app/modules/admin/apps/contacts/contacts.routing';
|
import { contactsRoutes } from 'app/modules/admin/apps/contacts/contacts.routing';
|
||||||
|
@ -39,8 +38,8 @@ import { ContactsListComponent } from 'app/modules/admin/apps/contacts/list/list
|
||||||
MatFormFieldModule,
|
MatFormFieldModule,
|
||||||
MatIconModule,
|
MatIconModule,
|
||||||
MatInputModule,
|
MatInputModule,
|
||||||
|
MatLuxonDateModule,
|
||||||
MatMenuModule,
|
MatMenuModule,
|
||||||
MatMomentDateModule,
|
|
||||||
MatProgressBarModule,
|
MatProgressBarModule,
|
||||||
MatRadioModule,
|
MatRadioModule,
|
||||||
MatRippleModule,
|
MatRippleModule,
|
||||||
|
@ -56,13 +55,13 @@ import { ContactsListComponent } from 'app/modules/admin/apps/contacts/list/list
|
||||||
provide : MAT_DATE_FORMATS,
|
provide : MAT_DATE_FORMATS,
|
||||||
useValue: {
|
useValue: {
|
||||||
parse : {
|
parse : {
|
||||||
dateInput: moment.ISO_8601
|
dateInput: 'D'
|
||||||
},
|
},
|
||||||
display: {
|
display: {
|
||||||
dateInput : 'LL',
|
dateInput : 'DDD',
|
||||||
monthYearLabel : 'MMM YYYY',
|
monthYearLabel : 'LLL yyyy',
|
||||||
dateA11yLabel : 'LL',
|
dateA11yLabel : 'DD',
|
||||||
monthYearA11yLabel: 'MMMM YYYY'
|
monthYearA11yLabel: 'LLLL yyyy'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnIni
|
||||||
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
||||||
import { CdkDragDrop, moveItemInArray, transferArrayItem } from '@angular/cdk/drag-drop';
|
import { CdkDragDrop, moveItemInArray, transferArrayItem } from '@angular/cdk/drag-drop';
|
||||||
import { Subject, takeUntil } from 'rxjs';
|
import { Subject, takeUntil } from 'rxjs';
|
||||||
import * as moment from 'moment';
|
import { DateTime } from 'luxon';
|
||||||
import { FuseConfirmationService } from '@fuse/services/confirmation';
|
import { FuseConfirmationService } from '@fuse/services/confirmation';
|
||||||
import { ScrumboardService } from 'app/modules/admin/apps/scrumboard/scrumboard.service';
|
import { ScrumboardService } from 'app/modules/admin/apps/scrumboard/scrumboard.service';
|
||||||
import { Board, Card, List } from 'app/modules/admin/apps/scrumboard/scrumboard.models';
|
import { Board, Card, List } from 'app/modules/admin/apps/scrumboard/scrumboard.models';
|
||||||
|
@ -243,7 +243,7 @@ export class ScrumboardBoardComponent implements OnInit, OnDestroy
|
||||||
*/
|
*/
|
||||||
isOverdue(date: string): boolean
|
isOverdue(date: string): boolean
|
||||||
{
|
{
|
||||||
return moment(date, moment.ISO_8601).isBefore(moment(), 'days');
|
return DateTime.fromISO(date).startOf('day') < DateTime.now().startOf('day');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';
|
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';
|
||||||
import { Subject, takeUntil } from 'rxjs';
|
import { Subject, takeUntil } from 'rxjs';
|
||||||
import * as moment from 'moment';
|
import { DateTime } from 'luxon';
|
||||||
import { Board } from 'app/modules/admin/apps/scrumboard/scrumboard.models';
|
import { Board } from 'app/modules/admin/apps/scrumboard/scrumboard.models';
|
||||||
import { ScrumboardService } from 'app/modules/admin/apps/scrumboard/scrumboard.service';
|
import { ScrumboardService } from 'app/modules/admin/apps/scrumboard/scrumboard.service';
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ export class ScrumboardBoardsComponent implements OnInit, OnDestroy
|
||||||
*/
|
*/
|
||||||
formatDateAsRelative(date: string): string
|
formatDateAsRelative(date: string): string
|
||||||
{
|
{
|
||||||
return moment(date, moment.ISO_8601).fromNow();
|
return DateTime.fromISO(date).toRelative();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -3,8 +3,8 @@ import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms
|
||||||
import { MatCheckboxChange } from '@angular/material/checkbox';
|
import { MatCheckboxChange } from '@angular/material/checkbox';
|
||||||
import { MatDialogRef } from '@angular/material/dialog';
|
import { MatDialogRef } from '@angular/material/dialog';
|
||||||
import { debounceTime, Subject, takeUntil, tap } from 'rxjs';
|
import { debounceTime, Subject, takeUntil, tap } from 'rxjs';
|
||||||
import * as moment from 'moment';
|
|
||||||
import { assign } from 'lodash-es';
|
import { assign } from 'lodash-es';
|
||||||
|
import { DateTime } from 'luxon';
|
||||||
import { ScrumboardService } from 'app/modules/admin/apps/scrumboard/scrumboard.service';
|
import { ScrumboardService } from 'app/modules/admin/apps/scrumboard/scrumboard.service';
|
||||||
import { Board, Card, Label } from 'app/modules/admin/apps/scrumboard/scrumboard.models';
|
import { Board, Card, Label } from 'app/modules/admin/apps/scrumboard/scrumboard.models';
|
||||||
|
|
||||||
|
@ -237,7 +237,7 @@ export class ScrumboardCardDetailsComponent implements OnInit, OnDestroy
|
||||||
*/
|
*/
|
||||||
isOverdue(date: string): boolean
|
isOverdue(date: string): boolean
|
||||||
{
|
{
|
||||||
return moment(date, moment.ISO_8601).isBefore(moment(), 'days');
|
return DateTime.fromISO(date).startOf('day') < DateTime.now().startOf('day');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -9,10 +9,9 @@ import { MatDatepickerModule } from '@angular/material/datepicker';
|
||||||
import { MatFormFieldModule } from '@angular/material/form-field';
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
||||||
import { MatIconModule } from '@angular/material/icon';
|
import { MatIconModule } from '@angular/material/icon';
|
||||||
import { MatInputModule } from '@angular/material/input';
|
import { MatInputModule } from '@angular/material/input';
|
||||||
|
import { MatLuxonDateModule, MAT_LUXON_DATE_FORMATS } from '@angular/material-luxon-adapter';
|
||||||
import { MatMenuModule } from '@angular/material/menu';
|
import { MatMenuModule } from '@angular/material/menu';
|
||||||
import { MatMomentDateModule } from '@angular/material-moment-adapter';
|
|
||||||
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
||||||
import * as moment from 'moment';
|
|
||||||
import { SharedModule } from 'app/shared/shared.module';
|
import { SharedModule } from 'app/shared/shared.module';
|
||||||
import { ScrumboardComponent } from 'app/modules/admin/apps/scrumboard/scrumboard.component';
|
import { ScrumboardComponent } from 'app/modules/admin/apps/scrumboard/scrumboard.component';
|
||||||
import { ScrumboardBoardsComponent } from 'app/modules/admin/apps/scrumboard/boards/boards.component';
|
import { ScrumboardBoardsComponent } from 'app/modules/admin/apps/scrumboard/boards/boards.component';
|
||||||
|
@ -43,25 +42,15 @@ import { scrumboardRoutes } from 'app/modules/admin/apps/scrumboard/scrumboard.r
|
||||||
MatFormFieldModule,
|
MatFormFieldModule,
|
||||||
MatIconModule,
|
MatIconModule,
|
||||||
MatInputModule,
|
MatInputModule,
|
||||||
|
MatLuxonDateModule,
|
||||||
MatMenuModule,
|
MatMenuModule,
|
||||||
MatMomentDateModule,
|
|
||||||
MatProgressBarModule,
|
MatProgressBarModule,
|
||||||
SharedModule
|
SharedModule
|
||||||
],
|
],
|
||||||
providers : [
|
providers : [
|
||||||
{
|
{
|
||||||
provide : MAT_DATE_FORMATS,
|
provide : MAT_DATE_FORMATS,
|
||||||
useValue: {
|
useValue: MAT_LUXON_DATE_FORMATS
|
||||||
parse : {
|
|
||||||
dateInput: moment.ISO_8601
|
|
||||||
},
|
|
||||||
display: {
|
|
||||||
dateInput : 'll',
|
|
||||||
monthYearLabel : 'MMM YYYY',
|
|
||||||
dateA11yLabel : 'LL',
|
|
||||||
monthYearA11yLabel: 'MMMM YYYY'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -7,7 +7,7 @@ import { MatDrawerToggleResult } from '@angular/material/sidenav';
|
||||||
import { FuseConfirmationService } from '@fuse/services/confirmation';
|
import { FuseConfirmationService } from '@fuse/services/confirmation';
|
||||||
import { debounceTime, filter, Subject, takeUntil, tap } from 'rxjs';
|
import { debounceTime, filter, Subject, takeUntil, tap } from 'rxjs';
|
||||||
import { assign } from 'lodash-es';
|
import { assign } from 'lodash-es';
|
||||||
import * as moment from 'moment';
|
import { DateTime } from 'luxon';
|
||||||
import { Tag, Task } from 'app/modules/admin/apps/tasks/tasks.types';
|
import { Tag, Task } from 'app/modules/admin/apps/tasks/tasks.types';
|
||||||
import { TasksListComponent } from 'app/modules/admin/apps/tasks/list/list.component';
|
import { TasksListComponent } from 'app/modules/admin/apps/tasks/list/list.component';
|
||||||
import { TasksService } from 'app/modules/admin/apps/tasks/tasks.service';
|
import { TasksService } from 'app/modules/admin/apps/tasks/tasks.service';
|
||||||
|
@ -465,7 +465,7 @@ export class TasksDetailsComponent implements OnInit, AfterViewInit, OnDestroy
|
||||||
*/
|
*/
|
||||||
isOverdue(): boolean
|
isOverdue(): boolean
|
||||||
{
|
{
|
||||||
return moment(this.task.dueDate, moment.ISO_8601).isBefore(moment(), 'days');
|
return DateTime.fromISO(this.task.dueDate).startOf('day') < DateTime.now().startOf('day');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -10,14 +10,13 @@ import { MatDividerModule } from '@angular/material/divider';
|
||||||
import { MatFormFieldModule } from '@angular/material/form-field';
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
||||||
import { MatIconModule } from '@angular/material/icon';
|
import { MatIconModule } from '@angular/material/icon';
|
||||||
import { MatInputModule } from '@angular/material/input';
|
import { MatInputModule } from '@angular/material/input';
|
||||||
|
import { MatLuxonDateModule, MAT_LUXON_DATE_FORMATS } from '@angular/material-luxon-adapter';
|
||||||
import { MatMenuModule } from '@angular/material/menu';
|
import { MatMenuModule } from '@angular/material/menu';
|
||||||
import { MatMomentDateModule } from '@angular/material-moment-adapter';
|
|
||||||
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
||||||
import { MatRadioModule } from '@angular/material/radio';
|
import { MatRadioModule } from '@angular/material/radio';
|
||||||
import { MatSelectModule } from '@angular/material/select';
|
import { MatSelectModule } from '@angular/material/select';
|
||||||
import { MatSidenavModule } from '@angular/material/sidenav';
|
import { MatSidenavModule } from '@angular/material/sidenav';
|
||||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||||
import * as moment from 'moment';
|
|
||||||
import { FuseFindByKeyPipeModule } from '@fuse/pipes/find-by-key';
|
import { FuseFindByKeyPipeModule } from '@fuse/pipes/find-by-key';
|
||||||
import { SharedModule } from 'app/shared/shared.module';
|
import { SharedModule } from 'app/shared/shared.module';
|
||||||
import { tasksRoutes } from 'app/modules/admin/apps/tasks/tasks.routing';
|
import { tasksRoutes } from 'app/modules/admin/apps/tasks/tasks.routing';
|
||||||
|
@ -42,8 +41,8 @@ import { TasksListComponent } from 'app/modules/admin/apps/tasks/list/list.compo
|
||||||
MatFormFieldModule,
|
MatFormFieldModule,
|
||||||
MatIconModule,
|
MatIconModule,
|
||||||
MatInputModule,
|
MatInputModule,
|
||||||
|
MatLuxonDateModule,
|
||||||
MatMenuModule,
|
MatMenuModule,
|
||||||
MatMomentDateModule,
|
|
||||||
MatProgressBarModule,
|
MatProgressBarModule,
|
||||||
MatRadioModule,
|
MatRadioModule,
|
||||||
MatRippleModule,
|
MatRippleModule,
|
||||||
|
@ -56,17 +55,7 @@ import { TasksListComponent } from 'app/modules/admin/apps/tasks/list/list.compo
|
||||||
providers : [
|
providers : [
|
||||||
{
|
{
|
||||||
provide : MAT_DATE_FORMATS,
|
provide : MAT_DATE_FORMATS,
|
||||||
useValue: {
|
useValue: MAT_LUXON_DATE_FORMATS
|
||||||
parse : {
|
|
||||||
dateInput: moment.ISO_8601
|
|
||||||
},
|
|
||||||
display: {
|
|
||||||
dateInput : 'll',
|
|
||||||
monthYearLabel : 'MMM YYYY',
|
|
||||||
dateA11yLabel : 'LL',
|
|
||||||
monthYearA11yLabel: 'MMMM YYYY'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, ViewChild, ViewEncapsulation } from '@angular/core';
|
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, OnDestroy, OnInit, ViewChild, ViewEncapsulation } from '@angular/core';
|
||||||
import { Subject, takeUntil } from 'rxjs';
|
import { Subject, takeUntil } from 'rxjs';
|
||||||
import * as moment from 'moment';
|
import { DateTime } from 'luxon';
|
||||||
import { ApexOptions, ChartComponent } from 'ng-apexcharts';
|
import { ApexOptions, ChartComponent } from 'ng-apexcharts';
|
||||||
import { FuseMediaWatcherService } from '@fuse/services/media-watcher';
|
import { FuseMediaWatcherService } from '@fuse/services/media-watcher';
|
||||||
import { CryptoService } from 'app/modules/admin/dashboards/crypto/crypto.service';
|
import { CryptoService } from 'app/modules/admin/dashboards/crypto/crypto.service';
|
||||||
|
@ -183,7 +183,7 @@ export class CryptoComponent implements OnInit, OnDestroy
|
||||||
rotate : 0,
|
rotate : 0,
|
||||||
minHeight : 40,
|
minHeight : 40,
|
||||||
hideOverlappingLabels: true,
|
hideOverlappingLabels: true,
|
||||||
formatter : (value): string => moment().subtract(Math.abs(parseInt(value, 10)), 'minutes').format('HH:mm'),
|
formatter : (value): string => DateTime.now().minus({minutes: Math.abs(parseInt(value, 10))}).toFormat('HH:mm'),
|
||||||
style : {
|
style : {
|
||||||
colors: 'currentColor'
|
colors: 'currentColor'
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<ng-container *ngIf="first || !isSameDay(activity.date, activities[i - 1].date)">
|
<ng-container *ngIf="first || !isSameDay(activity.date, activities[i - 1].date)">
|
||||||
<li class="relative flex py-7">
|
<li class="relative flex py-7">
|
||||||
<div class="relative py-2 px-8 text-md font-medium leading-5 rounded-full bg-primary text-on-primary">
|
<div class="relative py-2 px-8 text-md font-medium leading-5 rounded-full bg-primary text-on-primary">
|
||||||
{{getRelativeFormat(activity.date)}}
|
{{getRelativeFormat(activity.date) | titlecase}}
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { ChangeDetectionStrategy, Component, OnInit, ViewEncapsulation } from '@angular/core';
|
import { ChangeDetectionStrategy, Component, OnInit, ViewEncapsulation } from '@angular/core';
|
||||||
import { Observable } from 'rxjs';
|
import { Observable } from 'rxjs';
|
||||||
import * as moment from 'moment';
|
import { DateTime } from 'luxon';
|
||||||
import { Activity } from 'app/modules/admin/pages/activities/activities.types';
|
import { Activity } from 'app/modules/admin/pages/activities/activities.types';
|
||||||
import { ActivitiesService } from 'app/modules/admin/pages/activities/activities.service';
|
import { ActivitiesService } from 'app/modules/admin/pages/activities/activities.service';
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ export class ActivitiesComponent implements OnInit
|
||||||
*/
|
*/
|
||||||
isSameDay(current: string, compare: string): boolean
|
isSameDay(current: string, compare: string): boolean
|
||||||
{
|
{
|
||||||
return moment(current, moment.ISO_8601).isSame(moment(compare, moment.ISO_8601), 'day');
|
return DateTime.fromISO(current).hasSame(DateTime.fromISO(compare), 'day');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -56,22 +56,7 @@ export class ActivitiesComponent implements OnInit
|
||||||
*/
|
*/
|
||||||
getRelativeFormat(date: string): string
|
getRelativeFormat(date: string): string
|
||||||
{
|
{
|
||||||
const today = moment().startOf('day');
|
return DateTime.fromISO(date).toRelativeCalendar();
|
||||||
const yesterday = moment().subtract(1, 'day').startOf('day');
|
|
||||||
|
|
||||||
// Is today?
|
|
||||||
if ( moment(date, moment.ISO_8601).isSame(today, 'day') )
|
|
||||||
{
|
|
||||||
return 'Today';
|
|
||||||
}
|
|
||||||
|
|
||||||
// Is yesterday?
|
|
||||||
if ( moment(date, moment.ISO_8601).isSame(yesterday, 'day') )
|
|
||||||
{
|
|
||||||
return 'Yesterday';
|
|
||||||
}
|
|
||||||
|
|
||||||
return moment(date, moment.ISO_8601).fromNow();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -8,8 +8,8 @@ import { MatDividerModule } from '@angular/material/divider';
|
||||||
import { MatFormFieldModule } from '@angular/material/form-field';
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
||||||
import { MatIconModule } from '@angular/material/icon';
|
import { MatIconModule } from '@angular/material/icon';
|
||||||
import { MatInputModule } from '@angular/material/input';
|
import { MatInputModule } from '@angular/material/input';
|
||||||
|
import { MatLuxonDateModule } from '@angular/material-luxon-adapter';
|
||||||
import { MatMenuModule } from '@angular/material/menu';
|
import { MatMenuModule } from '@angular/material/menu';
|
||||||
import { MatMomentDateModule } from '@angular/material-moment-adapter';
|
|
||||||
import { MatSelectModule } from '@angular/material/select';
|
import { MatSelectModule } from '@angular/material/select';
|
||||||
import { FuseHighlightModule } from '@fuse/components/highlight';
|
import { FuseHighlightModule } from '@fuse/components/highlight';
|
||||||
import { SharedModule } from 'app/shared/shared.module';
|
import { SharedModule } from 'app/shared/shared.module';
|
||||||
|
@ -36,8 +36,8 @@ export const routes: Route[] = [
|
||||||
MatFormFieldModule,
|
MatFormFieldModule,
|
||||||
MatIconModule,
|
MatIconModule,
|
||||||
MatInputModule,
|
MatInputModule,
|
||||||
|
MatLuxonDateModule,
|
||||||
MatMenuModule,
|
MatMenuModule,
|
||||||
MatMomentDateModule,
|
|
||||||
MatSelectModule,
|
MatSelectModule,
|
||||||
FuseHighlightModule,
|
FuseHighlightModule,
|
||||||
SharedModule
|
SharedModule
|
||||||
|
|
Loading…
Reference in New Issue
Block a user