On Fri, 26 Mar 2021 at 11:06, Danny de Waard <[email protected]> wrote: [...]
> startSilence=`date +%Y-%m-%dT%H:%M:%SZ` > endSilence=`date -d '1 hour' +%Y-%m-%dT%H:%M:%SZ` > > What am i missing? > I think this is formatting it as UTC time but actually is in your local timezone. Try something like: startSilence=`TZ=UTC date +%Y-%m-%dT%H:%M:%SZ` -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAP9KPhApewPFEd69JfLpFo0awn3HnsBYOjAW%3D8d5ByFg34UZvA%40mail.gmail.com.

