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

TimeZone and UTC improvements #936

Closed
antpstevens opened this issue Mar 22, 2016 · 7 comments
Closed

TimeZone and UTC improvements #936

antpstevens opened this issue Mar 22, 2016 · 7 comments
Assignees
Labels
Milestone

Comments

@antpstevens
Copy link

Is there a date/time user setting feature on the roadmap or easy way to achieve this so different users/tenants can set their own preference in this regard?

@antpstevens antpstevens changed the title Data & Time Date & Time Mar 22, 2016
@wocar
Copy link
Contributor

wocar commented Mar 22, 2016

You can do your own Clock provider I guess!

El lun., mar. 21, 2016 10:21 PM, antpstevens notifications@github.com
escribió:

Is there a date/time user setting feature on the roadmap or easy way to
achieve this so different users/tenants can set their own preference in
this regard?


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#936

@hikalkan
Copy link
Member

Do you want tenant A uses local time, tenant B uses UTC time, tenant C uses UTC+03 time, for example?

@antpstevens
Copy link
Author

Yes.. that’s it. Exactly the case.

From: Halil İbrahim Kalkan [mailto:notifications@github.com]
Sent: Tuesday, 22 March 2016 5:25 PM
To: aspnetboilerplate/aspnetboilerplate aspnetboilerplate@noreply.github.com
Cc: antpstevens antpstevens@hotmail.com
Subject: Re: [aspnetboilerplate] Date & Time (#936)

Do you want tenant A uses local time, tenant B uses UTC time, tenant C uses UTC+03 time, for example?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub #936 (comment) https://github.com/notifications/beacon/AOnz93_JzAV5tIyaLAPdXw6IZPYkPjW5ks5pv4s5gaJpZM4H1x9C.gif

@hikalkan
Copy link
Member

Hmmm... We are thinking such a feature actually. As my thought, it should be like that:

  1. We define a 'TimeZone' setting for tenant + user level (http://www.aspnetboilerplate.com/Pages/Documents/Setting-Management#DocSettingScopes).
  2. We store all dates as UTC in the database.
  3. We transfer all dates as UTC between server and client.
  4. When we need to show a date, we check 'TimeZone' and adjust date to user's local time.

@antpstevens
Copy link
Author

This sounds like what we all would need.

When can it be included in a release?

Thanks

LinkedIn: http://ow.ly/WoY56

On 24 Mar 2016, at 8:30 PM, Halil İbrahim Kalkan notifications@github.com wrote:

Hmmm... We are thinking such a feature actually. As my thought, it should be like that:

We define a 'TimeZone' setting for tenant + user level (http://www.aspnetboilerplate.com/Pages/Documents/Setting-Management#DocSettingScopes).
We store all dates as UTC in the database.
We transfer all dates as UTC between server and client.
When we need to show a date, we check 'TimeZone' and adjust date to user's local time.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

@hikalkan hikalkan added this to the ABP v0.9.0 milestone Mar 25, 2016
@hikalkan
Copy link
Member

I can not provide a release date yet. If it's urgent, you can implement it yourself as I described above.

@maharatha
Copy link

+1

ismcagdas added a commit that referenced this issue Apr 19, 2016
@hikalkan hikalkan modified the milestones: ABP v0.9.0, ABP v0.10.0 May 5, 2016
@hikalkan hikalkan closed this as completed May 5, 2016
@hikalkan hikalkan changed the title Date & Time TimeZone and UTC improvements May 5, 2016
KenProDev pushed a commit to KenProDev/aspnetboilerplate that referenced this issue Jan 17, 2017
KenProDev pushed a commit to KenProDev/aspnetboilerplate that referenced this issue Jan 17, 2017
KenProDev pushed a commit to KenProDev/aspnetboilerplate that referenced this issue Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants