From 3eaf89fb656d4bea165149cd945fe69b10f53509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20=C3=85hall?= Date: Sat, 29 Jun 2024 12:08:40 +0200 Subject: [PATCH] Updated README with datetime format --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ce6f45b..426f0bc 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,13 @@ application: # Data from systems to datapoints -`curl -d "$(time +'%F %T +02')" http://localhost:9000/entry/datapoint_name` +`curl -d 200 http://localhost:9000/entry/datapoint_name` + +## Datetime format + +Datetime data is to be in the format of "2006-01-02T15:04:05+02:00" or "2006-01-02T15:04:05+0200". + +Use `date '+%FT%T%z'` to get a value from systems in correct format. # Theming