From 73b1347ec3438c78e53b27b402f438c8046fe1d4 Mon Sep 17 00:00:00 2001 From: meeki007 <5952964+meeki007@users.noreply.github.com> Date: Mon, 31 Jul 2023 04:34:20 -0400 Subject: [PATCH] Update README.md - clientTimezone (#246) Document the function of msg.payload.clientTimezone Also added documentation for msg.payload.parameters --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 32b23ee..a682559 100644 --- a/README.md +++ b/README.md @@ -363,7 +363,10 @@ All actions also include a: `msg._sessionid` property that indicates which client session they came from. Any msg sent out that includes this property will ONLY be sent to that session - so you can target map updates to specific sessions if required. `msg._sessionip` property that shows the ip of the client that is connected to the session. -The "connected" action also include a `msg._clientheaders` property that shows the headers sent by the client to make a connection to the session. +The "connected" action additionally includes a: +`msg.payload.parameters` property object that lists the parameters sent in the url. +`msg.payload.clientTimezone` property string showing the clients local Timezone. Returns bool of `false` if unable to retrive clients local Timezone. +`msg._clientheaders` property that shows the headers sent by the client to make a connection to the session. ### Utility functions