Design #297
openIn the "Context" section the Start Date is behaving oddly
0%
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.
Updated by Huda Hussain about 1 year ago
Timezone should just be directly what they enter
Updated by Huda Hussain about 1 year 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.
Updated by Joseph Potvin about 1 year ago
- Assignee changed from Joseph Potvin to Huda Hussain
Also review on the call today...
Updated by Huda Hussain about 1 year 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"
}
Updated by Joseph Potvin about 1 year ago
- Tracker changed from Bug to Design
- Status changed from New to In Progress
Here is a convenient table of the ISO 8601 time zones:
https://time-time.net/times/time-zones/world-time-zones.php
... which otherwise ISO changes a lot of money for:
https://www.en-standard.eu/bs-iso-8601-1-2019-a1-2022-date-and-time-representations-for-information-interchange-basic-rules/
Updated by Huda Hussain 11 months ago
- Assignee changed from Huda Hussain to Joseph Potvin
I just pushed some changes, i'd appreciate feedback :)
-