diff --git a/src/lib/index.ts b/src/lib/index.ts
index 2b16484..66e3c7e 100644
--- a/src/lib/index.ts
+++ b/src/lib/index.ts
@@ -98,7 +98,7 @@ export const handleDataExport = () => {
E.getOrElse(() => "An error occured") // TODO: Handle error case.
);
- const fileName = `${format(Date.now(), "yyyy-mm-dd_hh:mm")}.json`;
+ const fileName = `${format(Date.now(), "yyyy-MM-dd_hh:mm")}.json`;
downloadData(values, fileName);
};
diff --git a/src/pages/homePage/index.tsx b/src/pages/homePage/index.tsx
index b66b88a..2cb63cc 100644
--- a/src/pages/homePage/index.tsx
+++ b/src/pages/homePage/index.tsx
@@ -54,7 +54,7 @@ const HomePage = () => {
const handleResetPopupDialogVisibility = () => {
setIsResetPopupDialogVisible(!isResetPopupDialogVisible);
};
-
+
const handleNotificationsDialogVisibility = () => {
setIsNotificationsDialogVisible(!isNotificationsDialogVisible);
};
@@ -213,11 +213,11 @@ const HomePage = () => {
// eslint-disable-next-line array-callback-return
const formattedString = processedData.map((item: any) => {
- const telegramMsg = `[${item['full-id']}] Received ${item.protocol.toUpperCase()} interaction from ${item['remote-address']} at ${format(new Date(item.timestamp), "yyyy-mm-dd_hh:mm:ss")}`
+ const telegramMsg = `[${item['full-id']}] Received ${item.protocol.toUpperCase()} interaction from ${item['remote-address']} at ${format(new Date(item.timestamp), "yyyy-MM-dd_hh:mm:ss")}`
storedData.telegram.enabled && notifyTelegram(telegramMsg, storedData.telegram.botToken, storedData.telegram.chatId, 'HTML')
return {
- slack: `[${item['full-id']}] Received ${item.protocol.toUpperCase()} interaction from \n at ${format(new Date(item.timestamp), "yyyy-mm-dd_hh:mm:ss")}`,
- discord: `[${item['full-id']}] Received ${item.protocol.toUpperCase()} interaction from \n [${item['remote-address']}](https://ipinfo.io/${item['remote-address']}) at ${format(new Date(item.timestamp), "yyyy-mm-dd_hh:mm:ss")}`,
+ slack: `[${item['full-id']}] Received ${item.protocol.toUpperCase()} interaction from \n at ${format(new Date(item.timestamp), "yyyy-MM-dd_hh:mm:ss")}`,
+ discord: `[${item['full-id']}] Received ${item.protocol.toUpperCase()} interaction from \n [${item['remote-address']}](https://ipinfo.io/${item['remote-address']}) at ${format(new Date(item.timestamp), "yyyy-MM-dd_hh:mm:ss")}`,
}
})
storedData.slack.enabled && notifySlack(formattedString, storedData.slack.hookKey, storedData.slack.channel)