Project

General

Profile

Actions

Design #116

open

DWD spec confirmation for "context ineffect"

Added by Ted Kim almost 2 years ago. Updated almost 2 years ago.

Status:
In Progress
Priority:
Normal
Category:
-
Start date:
06/02/2022
Due date:
% Done:

0%

Estimated time:

Description

According to the Figma design the Date, Time, and Timezone for both start and end times are kept separately.

The DWD spec example I have indicates that timezone is kept in sync and locked to one.

   "context_ineffect":[
      {
         "datetime_standard_url":"https://www.w3.org/TR/NOTE-datetime",
         "datetime_zone":"UTC-00:00",
         "datetime_range":{
            "start":"1970-01-01 00:00:01",
            "end":"2070-12-31 23:59:59"
         },
         "jurisdiction_standard_url":"https://www.iso.org/iso-3166-country-codes.html",
         "jurisdiction_country":"GB",
         "jurisdiction_subcountry":"ENG"
      }
   ]

For now I've modified and ignored the design in favour of the JSON schema but I'd like to confirm if this is the correct approach.

Actions #1

Updated by Joseph Potvin almost 2 years ago

RE: "in favour of the JSON schema"

I would agree.

Calvin is the difference intentional?

Actions #2

Updated by Calvin Hutcheon almost 2 years ago

It was not an intentional deviation from the schema. I prefer the approach in the schema—there's less opportunity for confusion. I'll update that in the mock-up.

Actions #3

Updated by Calvin Hutcheon almost 2 years ago

  • Status changed from New to In Progress
Actions

Also available in: Atom PDF