DeployHubProject / DeployHub-Pro

DeployHub Pro Pipeline Status Project
https://www.openmakesoftware.com/application-release-automation-for-continuous-delivery/
Other
11 stars 4 forks source link

show user local time #312

Open piyush94 opened 4 years ago

piyush94 commented 4 years ago

In Web UI, for different timestamps such created, added, modified, etc. user local time should be displayed. Currently, server time is shown.

sbtaylor15 commented 4 years ago

@piyush94 - on the users profile we have the date and time format. We will need to add a time zone field so we can figure out the offset from the server to get the times adjusted.

piyush94 commented 4 years ago

@sbtaylor15 Just a suggestion, if possible, it should be solvable by, saving the timestamp as ISO string(UTC 0), then it can be passed to JavaScript localestring function which can handle conversion to user's local timezone.