Re: Questiona about timezones

Mark Nottingham <mnot@mnot.net> Mon, 01 October 2018 06:22 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 56718130D7A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 30 Sep 2018 23:22:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.75
X-Spam-Level:
X-Spam-Status: No, score=-2.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=jVDeQgT0; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=a9dF7VQH
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N4kHLU9cTuWv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 30 Sep 2018 23:22:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1E14312777C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 30 Sep 2018 23:22:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1g6rY7-0001Qm-Fu for ietf-http-wg-dist@listhub.w3.org; Mon, 01 Oct 2018 06:19:19 +0000
Resent-Date: Mon, 01 Oct 2018 06:19:19 +0000
Resent-Message-Id: <E1g6rY7-0001Qm-Fu@frink.w3.org>
Received: from mimas.w3.org ([2603:400a:ffff:804:801e:34:0:4f]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <mnot@mnot.net>) id 1g6rY6-0001Q4-Jc for ietf-http-wg@listhub.w3.org; Mon, 01 Oct 2018 06:19:18 +0000
Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <mnot@mnot.net>) id 1g6rY4-0004Vw-NU for ietf-http-wg@w3.org; Mon, 01 Oct 2018 06:19:18 +0000
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 0145021161; Mon, 1 Oct 2018 02:18:56 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 01 Oct 2018 02:18:56 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=LxloZixuziFSfPKfbWphgxHJIMYKm snO/YJH++5vt94=; b=jVDeQgT0svKf2CPFs6WdZF1VTd8sooipvlwt2Lt0MgZe1 9OCjNNHBOS9pv9oAV49YTQrknphgBzU06+Xs0fS+dTNLFQY8W4eavTWPZcDEYoWU jUyWd1WxgH63hOUy3LOFzhWIcRKd/tgxR0EpKBDf3ZVz+9+Vl6O5hCxBRSSryxZJ WJviqsgixjs0T5y9vM/6UU64JUI5743xOiIcplhUsm3RqABD8gmPf5UmRQk8Ra/4 m29iyYymeMX897diqcHYeNzuPjuOBDp01a4rF65IdZq9QG1supup0Ocmx6J7oLk/ YzI++tG1r1dSEmMM26CTH0Ngsft8aZXO6gGIT5bqg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=LxloZi xuziFSfPKfbWphgxHJIMYKmsnO/YJH++5vt94=; b=a9dF7VQHs+E1G7+qJo5Qvr WfE1Ycw3RmI6wEAk6XNbMt4DWK1OmY71+PYsqtash2ALhKLvZ/DlB1OLfvQDWna3 Pf4p6ApWINtoWAJfsMgbYDo66Ew8Dgsh5yps0mgAy2gR6c92hjIfN9ST4IDHi34n BvrG0N7t21GRQYk8+zVzcJoyTPlwFug94039fxiUrG0T5KUXmV0XoMM9LU/AIB/u ozzQoCair3tbgX8fxy6xpPhb189tmAmhaSaHygGbuGdol8cODdq0KLrsfvG1D+7q ta8h5B5RoeBRU51oSZHsLGwH73/uFdly/ohovcdrE6YmM2SJJ0T2pKttbRnQlUUw ==
X-ME-Sender: <xms:T7yxWzDyv_VMftYyYNMtF7TL1SnDlbobc3kplz4oJHdSuO6yALtU_g>
X-ME-Proxy: <xmx:T7yxW774AujxuiPs2xAbbIoeGTavwVYgAV_F5Zs4YjfOY5sgOoqUMw> <xmx:T7yxW8AFWswV2HgLTRXh2ZLlaEgbLr2yha-63qkdKmiqLq-Tf75KRw> <xmx:T7yxW42ZLEOymVRlSkwGdPcCmmPIN61WnQJorNGMYcVBTUo9wQ9RcQ> <xmx:T7yxW3H_gMJeI1TomRcs-M6ixSReRPCyqcAWlPkt44swkjYzoDCaOg> <xmx:T7yxWxh-SAR5iMkLu3wUZlMccpM-0l2novbLF1y_2JMr1rx0irPWaQ> <xmx:T7yxWy1qtTsv-JoyXjDy5z1QVmePWcequ2vY5POa2UbXBCVxx5MrTw>
Received: from attitudadjuster.mnot.net (unknown [144.136.175.28]) by mail.messagingengine.com (Postfix) with ESMTPA id 20B2DE47C2; Mon, 1 Oct 2018 02:18:53 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAG47hGZ+CMTqqLf86kjSdsxgUtM1cLYS12TasPLOJNrOieqe0g@mail.gmail.com>
Date: Mon, 01 Oct 2018 16:18:51 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <DB77149F-2A14-4B6A-88B6-0AC33432249E@mnot.net>
References: <CAG47hGZ+CMTqqLf86kjSdsxgUtM1cLYS12TasPLOJNrOieqe0g@mail.gmail.com>
To: Grahame Grieve <grahame@healthintersections.com.au>
X-Mailer: Apple Mail (2.3445.100.39)
X-W3C-Hub-Spam-Status: No, score=-6.6
X-W3C-Hub-Spam-Report: AWL=3.091, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1g6rY4-0004Vw-NU 0f6b80f302d2f9b0b8e3852d9866c369
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Questiona about timezones
Archived-At: <https://www.w3.org/mid/DB77149F-2A14-4B6A-88B6-0AC33432249E@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/35934
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hi Grahame,

This has come up a few times. While getting it into Web browsers would be difficult (thanks to the inherent privacy issues, as well as the existence of other solutions), defining it for non-browser applications simplifies the problem somewhat, and based on the number of times it's come up, might see some take-up.

Personally, I like the proposal in:
  http://www.w3.org/mid/DBDF1A48B00F2042B20953D2ACE4968806A0ADE526@sha-exch14.shared.ifeltd.com

If you (or someone else) wanted to sketch out a proposal in an Internet-Draft, we could discuss it and decide whether there's consensus to adopt.

That said, the gating factor is likely to be finding someone who's willing to put in the work of editing a document. If we can find people to help in that process, would you be willing to do so?

Cheers,



http://www.w3.org/mid/DBDF1A48B00F2042B20953D2ACE4968806A0ADE526@sha-exch14.shared.ifeltd.com

> On 26 Sep 2018, at 11:18 am, Grahame Grieve <grahame@healthintersections.com.au> wrote:
> 
> Hi
> 
> We've run into a problem with the FHIR HTTP API to do with timezones (FHIR = HTTP API for healthcare). TImezones are hard to deal with, and we can't nail everything down (duh!). There's cases where the server needs to know the client's timezone to perform certain tasks correctly on behalf of the client, and the client wants to know the server's timezone to fully understand certain outputs 
> 
> The classic response is for this to be handled by javascript client side, but that doesn't work for a data (json) API. Note also that in principle, servers should not have a timezone, but in practice, every clinical system in the world does have a timezone, and it matters a whole lot. If we care about legacy data, we have to have the client knowing what the server defaults to... and we really care about legacy data. And various clinical protocols have operational ties to timezones, not just offsets (giving medications at the right time really does matter)
> 
> Has anyone got any comments on this?
> 
> I like the header described in https://tools.ietf.org/html/draft-sharhalakis-httptz-05 and would specify it for both directions, but that's not blessed by the http-wg?
> 
> Grahame
> 
> -- 
> -----
> http://www.healthintersections.com.au / grahame@healthintersections.com.au / +61 411 867 065

--
Mark Nottingham   https://www.mnot.net/