Compare commits
2 Commits
36c00acf62
...
v0.28.1
| Author | SHA1 | Date | |
|---|---|---|---|
| c5be55dcbc | |||
| b2c3868619 |
@@ -15,5 +15,5 @@ type: application
|
|||||||
# appVersion and image.tag in values.yaml no longer agree, and that is not an oversight:
|
# appVersion and image.tag in values.yaml no longer agree, and that is not an oversight:
|
||||||
# image.tag stays "latest", which is what a local install actually pulls. appVersion is
|
# image.tag stays "latest", which is what a local install actually pulls. appVersion is
|
||||||
# metadata and drives nothing.
|
# metadata and drives nothing.
|
||||||
version: 0.28.0
|
version: 0.28.1
|
||||||
appVersion: "v0.28.0"
|
appVersion: "v0.28.1"
|
||||||
|
|||||||
@@ -82,15 +82,6 @@ export function addDays(d, n) {
|
|||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ISO 8601 week number.
|
|
||||||
export function isoWeek(d) {
|
|
||||||
const t = new Date(Date.UTC(d.getFullYear(), d.getMonth(), d.getDate()));
|
|
||||||
const day = t.getUTCDay() || 7;
|
|
||||||
t.setUTCDate(t.getUTCDate() + 4 - day);
|
|
||||||
const yearStart = new Date(Date.UTC(t.getUTCFullYear(), 0, 1));
|
|
||||||
return Math.ceil(((t - yearStart) / DAY + 1) / 7);
|
|
||||||
}
|
|
||||||
|
|
||||||
export const STATUS_LABEL = {
|
export const STATUS_LABEL = {
|
||||||
triggered: 'Triggered',
|
triggered: 'Triggered',
|
||||||
acknowledged: 'Acknowledged',
|
acknowledged: 'Acknowledged',
|
||||||
|
|||||||
Reference in New Issue
Block a user