-
Notifications
You must be signed in to change notification settings - Fork 0
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
Adds Time info to message feed header #192
Merged
Changes from 1 commit
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
a32273f
:sparkles: adding timezone to messagefeed header
Sahil590 9388c5c
Update process_manager/templates/process_manager/index.html
Sahil590 ff7189d
adding minutes to take into account fractional timezones
Sahil590 470809d
getting server time instead of client time
Sahil590 ac32ef9
moving the timezone info above the search bar
Sahil590 1445219
Merge branch 'neater_ui' into time_info
Sahil590 42b98df
Merge branch 'neater_ui' into time_info
Sahil590 0bed7da
Merge branch 'neater_ui' into time_info
Sahil590 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My JS knowledge is non-existent, so just to confirm I get this right, this line here will update the HTML element below with
id="timezone"
giving it the valueTIMEZONE (UTC + OFFSET_HOURS)
, both TIMEZONE and OFFSET calculated here, right?I'd add
h
to the string. Not sure if standard, but makes it clearer.Also, there are some fractional timezones which I'm not sure if will be handled properly with this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, exactly it will update the element with that ID.
I did not take into account the fractional timezones will amend this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently, it shows this if it is a fractional timezone but it's not that useful