Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

✨ Support for `month`

Chris Nielsen03ae38577ee9
diff --git a/src/utils/MiscHelpers.js b/src/utils/MiscHelpers.js
index b3bbbd36..dc8863ff 100644
--- a/src/utils/MiscHelpers.js
+++ b/src/utils/MiscHelpers.js
@@ -149,6 +149,7 @@ export const getTimeDifference = (startTime, endTime) => {
{ noun: 'day', value: 86400 },
{ noun: 'week', value: 604800 },
{ noun: 'fortnight', value: 1209600 },
+ { noun: 'month', value: 2628000 },
{ noun: 'year', value: 31557600 },
];