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

UI Use ModifyTime instead of ModifyIndex in allocation lists #3607

Merged
merged 1 commit into from
Dec 7, 2017

Conversation

DingoEatingFuzz
Copy link
Contributor

image

@DingoEatingFuzz DingoEatingFuzz force-pushed the f-ui-modify-time-over-modify-index branch from 758523b to e982951 Compare December 6, 2017 18:17
Copy link
Contributor

@meirish meirish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@DingoEatingFuzz DingoEatingFuzz merged commit a78a2e3 into master Dec 7, 2017
@DingoEatingFuzz DingoEatingFuzz deleted the f-ui-modify-time-over-modify-index branch December 7, 2017 22:25
@@ -35,6 +35,9 @@ export default ApplicationSerializer.extend({
// TEMPORARY: https://github.com/emberjs/data/issues/5209
hash.OriginalJobId = hash.JobID;

hash.ModifyTimeNanos = hash.ModifyTime % 1000000;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ever think of using exponential notation for this or a constant of some sort? Could just be me, but counting the zeros makes me squint.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I suppose it's about time to turn this into a function. Something like

const { datetime, nanos } = nsToDate(hash.ModifyTime);

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants