Skip to content

Time zone support #482

Open
Open
@benpackard

Description

@benpackard

It would be great to have some way to specify the timezone to use when displaying dates in Parse Dashboard createdAt, updatedAt, etc.

Activity

Vortec4800

Vortec4800 commented on Sep 4, 2016

@Vortec4800
Contributor

Commenting on this as a vote, I would like to see time zone support as well.

tarekskr

tarekskr commented on Dec 10, 2016

@tarekskr

+1

mistahgandhi

mistahgandhi commented on Feb 11, 2017

@mistahgandhi

+1

yomybaby

yomybaby commented on Feb 23, 2017

@yomybaby

+1

AnChiChang

AnChiChang commented on Mar 17, 2017

@AnChiChang

+1

imMatt

imMatt commented on Jul 21, 2017

@imMatt

+1

xcarpentier

xcarpentier commented on Jul 26, 2017

@xcarpentier

@flovilmart any idea on this topic?

onosol

onosol commented on Nov 23, 2017

@onosol

Bump - this would be an ideal feature. +1000

jenlai1345

jenlai1345 commented on Feb 14, 2018

@jenlai1345

+1 please

skparticles

skparticles commented on Mar 2, 2018

@skparticles

+1

ananfang

ananfang commented on Apr 3, 2018

@ananfang

+1

AlexShul

AlexShul commented on Apr 3, 2018

@AlexShul

+1

15 remaining items

mtrezza

mtrezza commented on Jun 6, 2022

@mtrezza
Member

I think that's a good approach - to start with the most simple form of the functionality. Later on, if someone wants to, they can add a UI to change that param in the dashboard.

What if someone enters a date via the date picker in the data browser. Should that be the local date and converted to UTC, or sent as it?

benpackard

benpackard commented on Jun 6, 2022

@benpackard
ContributorAuthor

@pash2048 Here's something you might want to consider (just chipping in as the original opener of this issue, happy to see it might get picked up!)

I suspect most people would prefer to see these dates and times in one of two ways:

  • UTC (existing behavior)
  • Their current timezone

In my opinion, it would be awesome if instead of specifying a time_zone parameter, a flag could be set - perhaps use_local_timezone or similar. When true, it would use the browser's time zone setting to format the dates and times. When false (default), the existing behavior would apply. (I'm not much of a web guy, so I am making an assumption that the browser exposes some representation of the device's time zone).

This would better support distributed teams accessing the dashboard from different locations, as well as individual developers when moving between time zones.

Of course, supporting both approaches would be even cooler - perhaps your proposed time_zone parameter could handle a special case - it could be named local, automatic, or device for example. Setting time_zone to this value would display dates and times using the browser's timezone.

What do you think?

mtrezza

mtrezza commented on Jun 6, 2022

@mtrezza
Member

All great feature suggestions.

Depending on how much you (and others) feel like building, we can adapt the bounty amount accordingly. The 10$ bounty is probably just for a basic functionality.

pash2048

pash2048 commented on Jun 8, 2022

@pash2048

What if someone enters a date via the date picker in the data browser. Should that be the local date and converted to UTC, or sent as it?

@mtrezza, I think it's better to be local date time and converted to UTC, for example, every time I need to enter a date in the parse dashboard, I convert my local date time to UTC and then enter a date.
What's your idea?

@benpackard, thanks for your good suggestion, I think we can create it basically with the defined time zone in parameters and then add all features you said.

benpackard

benpackard commented on Jun 8, 2022

@benpackard
ContributorAuthor

I think it's better to be local date time and converted to UTC, for example, every time I need to enter a date in the parse dashboard, I convert my local date time to UTC and then enter a date.
What's your idea?

While I'm here, my feeling on this one is that if a date in my dashboard is displayed 7:00 pm, I should be confident that changing it to 7:05 pm adds exactly five minutes, regardless of the storage format. So IMO it should be entered in local time and converted to UTC automatically. The alternative is requiring the user to understand that she must enter the time in a format other than the one she sees, and having to manually covert the time correctly.

mtrezza

mtrezza commented on Jun 8, 2022

@mtrezza
Member

Good point @benpackard, I think I would expect the same behavior, it seems to be intuitive.

apederse

apederse commented on Oct 10, 2023

@apederse

+1

added
bounty:$50Bounty applies for fixing this issue (Parse Bounty Program)
and removed
bounty:$10Bounty applies for fixing this issue (Parse Bounty Program)
on Oct 10, 2023
mtrezza

mtrezza commented on Oct 10, 2023

@mtrezza
Member

Bumping the bounty due to high demand.

Regarding the question of whether a date entered in the data browser should be UTC or local time, I'd expect it to be according to the dashboard time zone setting, because otherwise it wouldn't be possible to copy/paste date fields in the data browser.

It would be possible to add an option to the calendar input dialog to switch the input to UTC only for that one input. But that seems like a convenience add-on that may even be confusing to some, so maybe it's not really necessary in the first version of this feature.

badboy-tian

badboy-tian commented on Apr 12, 2024

@badboy-tian

+1 need

mtrezza

mtrezza commented on Apr 12, 2024

@mtrezza
Member

Maybe something @AshishBarvaliya would be interested in :-) This feature is quite a record breaker, open since 2016 and continuously in demand until today.

Bhavyajain21

Bhavyajain21 commented on May 4, 2024

@Bhavyajain21

Is this still open?

I'd like to work on this. Please assign @mtrezza

mtrezza

mtrezza commented on May 4, 2024

@mtrezza
Member

Yes it is, please feel free to pick this up

sonivaidehi

sonivaidehi commented on Nov 28, 2024

@sonivaidehi

+1 we need this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty:$50Bounty applies for fixing this issue (Parse Bounty Program)type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @skparticles@tarekskr@Vortec4800@yomybaby@alxmllr

        Issue actions

          Time zone support · Issue #482 · parse-community/parse-dashboard