Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/data-provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ let physicalStructProvider = ([initialNodes, initialContainers]) => {
let imageNameRegex = /([^/]+?)(\:([^/]+))?$/;
let imageNameMatches = imageNameRegex.exec(cloned.Spec.ContainerSpec.Image);
let tagName = imageNameMatches[3];
let dateStamp = dt.getDate() + "/" + (dt.getMonth() + 1) + " " + dt.getHours() + ":" + dt.getMinutes();
let dateStamp = (1900+dt.getYear()) + "-" + ('0' + (dt.getMonth() + 1)).slice(-2) + "-" + ('0' + dt.getDate()).slice(-2) + " " + ('0' + dt.getHours()).slice(-2) + ":" + ('0' + dt.getMinutes()).slice(-2);
Copy link
Contributor

Choose a reason for hiding this comment

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

How about dt.getFullYear().toString().substr(2,2) for the year so it fits better to to the square (no need for the 2 first numbers for a long time)

Copy link
Author

Choose a reason for hiding this comment

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

I shrunk the zoom to make a cleaner tighter picture.

When it's full, there's plenty of space. BUT, yes, I will do dt.getFullYear() because I derped.

image

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

Choose a reason for hiding this comment

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

you could also add that image to the readme, the one in it needs an update 😄

Copy link
Author

Choose a reason for hiding this comment

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

@pahakalle I will add one final commit updating the README.md with a new image once we finalize all the visual bits and changes.

Do we want anything else for this PR, or shall I do that now?

let startState = cloned.Status.State;


Expand Down