Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dates and times for posts and surveys #4160

Open
Angamanga opened this issue Nov 11, 2020 · 1 comment
Open

Dates and times for posts and surveys #4160

Angamanga opened this issue Nov 11, 2020 · 1 comment
Projects
Milestone

Comments

@Angamanga
Copy link
Contributor

Angamanga commented Nov 11, 2020

Overview

The output of this epic is to standardise input, save and display of dates and times for posts and date/time fields in surveys all over the platform

Problem

Timestamps and date-time information is displayed and saved differently in platform. At some places, time is adjusted to the settings in the users computer, and sometimes it is displayed in UTC.

Goal

For survey-fields:

  • Save and display the time in the timezone the user have on their computer
  • Add a toggle that switches to the time and timezone the value was added in
  • Clearly display what timezone a time is displayed in
  • Add information about the timezone a value is added in the database and return this information (It is currently saved in UTC but without any information about the timezone).

For posts:

  • Save post_date in UTC
  • Save information about the timezone a post is added in in the database and return this information if its available. (It is currently saved in UTC but without any information about the timezone).
  • Adjust the metadata in a post to display the timezone that the user has in their computer-settings
  • Clearly display what timezone the post is displayed in

Issues included in this epic:

Related to survey-fields
#4162
#3961

Related to post-time-stamp
#4158
#4072
#3183
#2329
#4388

Related to time-handling in general
#4159 (new feature)
#2085

Aha! Link: https://ushahiditeam.aha.io/features/PROD-903

@rowasc rowasc added this to the Parking Lot milestone Nov 30, 2020
@Angamanga
Copy link
Contributor Author

@Ifycode For context when working with Moment.js

@tuxpiper tuxpiper added this to Date and Time in Bug packs Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Bug packs
Date and Time
Development

No branches or pull requests

2 participants