fix: locale for no incidents as reported in #225

This commit is contained in:
Raj Nandan Sharma
2025-01-27 22:37:54 +05:30
parent 535e3bb36a
commit db1ddc1292
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "kener",
"version": "3.0.4",
"version": "3.0.5",
"private": false,
"license": "MIT",
"description": "Kener: An open-source Node.js status page application for real-time service monitoring, incident management, and customizable reporting. Simplify service outage tracking, enhance incident communication, and ensure a seamless user experience.",
+1 -1
View File
@@ -87,7 +87,7 @@
<img src="https://kener.ing/logo.png" class="h-8 w-8" alt="" />
<span class="text-xl font-medium">Kener Documentation</span>
<span class="me-2 rounded border px-2.5 py-0.5 text-xs font-medium">
v3.0.4
v3.0.5
</span>
</a>
</div>
@@ -106,7 +106,11 @@
<h1 class=" text-xl font-semibold leading-tight">
{l(data.lang, "No Incident in %date", {
date: data.thisMonthName.replace("-", ", ")
date: f(
parse(data.thisMonthName, "MMMM-yyyy", new Date()),
"MMMM, yyyy",
selectedLang
)
})}
</h1>
</div>