mirror of
https://github.com/rajnandan1/kener.git
synced 2026-01-06 01:20:15 -06:00
fix: as reported in #103 changing timezone to UTC
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FROM lsiobase/alpine:3.18 as base
|
||||
|
||||
ENV TZ=Etc/GMT
|
||||
ENV TZ=Etc/UTC
|
||||
|
||||
RUN \
|
||||
echo "**** install build packages ****" && \
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
</picture>
|
||||
</p>
|
||||
|
||||
|
||||
#### [👉 Visit a live server](https://kener.ing)
|
||||
|
||||
#### [👉 Quick Start](https://kener.ing/docs/quick-start)
|
||||
@@ -34,9 +33,9 @@
|
||||
|
||||
## What is Kener?
|
||||
|
||||
Kener: Open-source sveltekit status page tool, designed to make service monitoring and incident handling a breeze. It offers a sleek and user-friendly interface that simplifies tracking service outages and improves how we communicate during incidents. Kener integrates seamlessly with GitHub, making incident management a team effort—making.
|
||||
Kener: Open-source sveltekit status page system, crafted with lot of thought so that it looks modern.
|
||||
|
||||
It uses files to store the data.
|
||||
It does not aim to replace the Datadogs of the world. It simply tries to help someone come with a status page for the world.
|
||||
|
||||
Kener name is derived from the word "Kene" which means "how is it going" in Assamese, then .ing is added to make cooler.
|
||||
|
||||
@@ -54,6 +53,7 @@ Kener name is derived from the word "Kene" which means "how is it going" in Assa
|
||||
- Supports a Default Status for Monitors. Example defaultStatus=DOWN if you don't hit API per minute with Status UP
|
||||
- Supports base path for hosting in k8s
|
||||
- Pre-built docker image for easy deployment
|
||||
- Supports webhooks/discord/slack for notifications
|
||||
|
||||
### Customization and Branding
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ services:
|
||||
container_name: kener-rc
|
||||
#env_file: .env #uncomment this, if you are using .env file
|
||||
environment:
|
||||
- TZ=Etc/GMT
|
||||
- TZ=Etc/UTC
|
||||
#- GH_TOKEN=
|
||||
#- API_TOKEN=
|
||||
#- API_IP=
|
||||
|
||||
@@ -6,7 +6,7 @@ export async function load({ params, route, url, cookies, request }) {
|
||||
let site = get(siteStore);
|
||||
const headers = request.headers;
|
||||
const userAgent = headers.get("user-agent");
|
||||
let localTz = "GMT";
|
||||
let localTz = "UTC";
|
||||
const localTzCookie = cookies.get("localTz");
|
||||
if (!!localTzCookie) {
|
||||
localTz = localTzCookie;
|
||||
|
||||
Reference in New Issue
Block a user