Project

General

Profile

Actions

Design #297

open

In the "Context" section the Start Date is behaving oddly

Added by Joseph Potvin 8 months ago. Updated about 1 month ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Refine
Start date:
11/02/2024
Due date:
% Done:

0%

Estimated time:

Description

I entered 2020-01-01 at 0:0:1, but what got registered is 2019-12-31 at 06:00:00

And it won't take any correction.

Actions #1

Updated by Huda Hussain about 2 months ago

Timezone is mandatory,
Default is +0

Actions #2

Updated by Huda Hussain about 2 months ago

Timezone should just be directly what they enter

Actions #3

Updated by Huda Hussain about 2 months ago

  • Assignee changed from Huda Hussain to Joseph Potvin

This should be fixed now, let me know if the issue persists. Note: I changed the way the juridstiction layout is now:

"in_effect": [
    {
        "country": "AD",
        "timezone": {
            "start": "UTC+03:30",
            "end": "UTC+03:30"
        },
        "startDate": "2025-05-19T21:00:18.000Z",
        "endDate": ""
    }
],

Let me know if you want me to change this.
Perhaps having the start {timezone,date} and end {timezone,date} would look better.

Actions #4

Updated by Joseph Potvin about 1 month ago

  • Assignee changed from Joseph Potvin to Huda Hussain

Also review on the call today...

Actions #5

Updated by Huda Hussain about 1 month ago

Don recommends only one timezone.
Country,subcountry use ISO representation.
Use the code, ex "AD-04"
If a country doesn't have a sub-division or applies to the whole country you just use the code "AD".

Subdivision should have all.

//Remove the word Date from display.
// Change UTC to ISO standard timezone. Don't record them as offset eithers.

    //Change from start Time to After
    //Change from end time to until.
            {
        "code": "AW",  //if all subdivision is picked
        "timezone":  "UTC+03:30",
        "after": "2025-07-08T22:09:19.000Z",
        "until": "2044-07-07T22:09:19.000Z"
    },
                    {
        "code": "AD-04", //if a subdivision is picked
        "timezone":"UTC+03:30",
        "after": "2025-07-08T22:09:19.000Z",
        "until": "2044-07-07T22:09:19.000Z"
    }
Actions #6

Updated by Joseph Potvin about 1 month ago

  • Tracker changed from Bug to Design
  • Status changed from New to In Progress
Actions

Also available in: Atom PDF