NWFWMD-IT / Hydrologic-Monitoring-Project

0 stars 0 forks source link

Discussion: Times should be in 24 hour time UTC (ENH-000132015) #85

Closed mripp closed 2 months ago

mripp commented 1 year ago

During testing feedback it was discussed that the times should be in 24 hour time UTC. The following fields are impacted by this.

After researching the options for the Field Form I found the following:

@rkircher Ask Katie if we want to escalate this enhancement from low to high.

mripp commented 1 year ago

@kprice-TLH I am wondering if you have an example of how you need the date and time formatted in UTC time. Is it like so '12/17/2023 15:20:20'

kprice-TLH commented 1 year ago

mm/dd/yyyy HH:MM:SS is great

From: Morgan Ripp @.> Sent: Monday, March 20, 2023 03:55 PM To: NWFWMD-IT/Hydrologic-Monitoring-Project @.> Cc: Katie Price @.>; Mention @.> Subject: Re: [NWFWMD-IT/Hydrologic-Monitoring-Project] Discussion: Times should be in 24 hour time UTC (Issue #85)

@kprice-TLHhttps://github.com/kprice-TLH I am wondering if you have an example of how you need the date and time formatted in UTC time. Is it like so '12/17/2023 15:20:20'

— Reply to this email directly, view it on GitHubhttps://github.com/NWFWMD-IT/Hydrologic-Monitoring-Project/issues/85#issuecomment-1476845791, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AY7QGQGSPORFT5BMG6B3VULW5CY2RANCNFSM6AAAAAAWBRL3EQ. You are receiving this because you were mentioned.Message ID: @.***>

mripp commented 1 year ago

On 4/3 we discussed how the user should not be able to input AM/PM into the survey. As an alternative we talked about having the user input the Date and Time separately.

@mripp will implement this workflow for the VisitDate field.

mripp commented 1 year ago

On 4/17 we discussed how we can use other lanaugaes such as French, German etc to use 24 hour clock

Mripp also demoed how you can have a note/text field translate the 12 hour clock into a 24 hour clock for display purposes

mripp commented 1 year ago

Based on email correspondence with James Tedrick there is an existing enhancement, ENH-000132015, to add a 24 hour English option to the clock.

mripp commented 1 year ago

The ENH is currently "under consideration" and we would need to escalate it in order for it to be implemented in a timely fashion.

It was recommended by tech support to utilize the workaround mentioned here. This would mean the user would input the date/time with the calendar interface and the survey would automatically convert it to military time and store it as a string. This would mean the database would need to contain 26 new string fields

mmannion commented 1 year ago

@mripp will contact @rkircher to start escalation.

Escalation will yield survey to describe use case. Current enhancement request does not include use case (we think).

SarahNWF commented 1 year ago

Followup with Michael to make sure the database preserves 24-hour time from UTC Timezone, preserve through databases, dashboards, etc. with Survey123

mripp commented 1 year ago

Update: The enhancement request is in the works on the datetime issue. It's been pushed back to product team for escalation.

mmannion commented 1 year ago

Followup with Michael to make sure the database preserves 24-hour time from UTC Timezone, preserve through databases, dashboards, etc. with Survey123

Confirmed.

The database stores dates and times in an internal format that is independent from how they are displayed in clients. Client applications can display this information in 12/24 hours, different time zones, etc. by choosing their own formatting options when fetching date/time content from the database.

mripp commented 6 months ago

Implemented a note to show 24 hour times for all questions in the survey. This is a temporary work around until this is fixed in the product. If this enhancement is implemented in the Survey123 product all fields below can be removed. In addition, the hint that references these fields can also be removed.

Fields used to calculate 24 hour note:

mmannion commented 5 months ago
mripp commented 5 months ago

During meeting on 4/1 We confirmed that if the Windows 11 Region setting is set to a local that uses 24 hour time then the Survey123 field application automatically utilizes 24 time formatting.

Example of Setting Image

Image

Survey123 Field Application Appearance Image

mmannion commented 5 months ago

Attaching summary email from @rkircher about causes > options for time format issue.

email.pdf

mmannion commented 4 months ago

@kprice-TLH @Bikechain will investigate Windows 11 locale settings. More options than Windows 10, and field laptops in the process of being updated.

mmannion commented 2 months ago

On Windows 11:

This is sufficient to meet the business need.