-
Notifications
You must be signed in to change notification settings - Fork 45
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
Invalid Date showing with salt 3005.1 #485
Conversation
converted to PR |
this can be a problem in the original data or even in the settings of the browser. |
p.s. the output in the original description is from the output of a salt command, this is not the metadata from the job itself. that does not change anything for the problem though. |
Here's a couple of cycles worth of data. Hope this is what you are looking for:
(edit by @erwindon to show the groups) |
I've added 2 blank lines in the output that you provided to show the logging of each invocation of the custom function the Edge-on-Mac looks ok, except that SaltGUI assumes that the string ends with the seconds when it appends the milliseconds part. I can improve that separately. |
TASKS:
|
step 1: I simulated the fact that functions step 2: step 3: |
d66df16
to
b2ab67f
Compare
also fixed the placement of the milliseconds part to before the timezone+ampm indicators |
can you please give it a try? |
@mkbrown |
Here are the problem sections (they repeat)
|
ah, it was already invalid at that point... |
Here's the new debug info:
|
in Safari, the function |
I simulated the part where |
Looking good at this point! Times are showing as UTC on Mac though. Safari on MacEdge on Mac. Times show as EDT (local timezone)Firefox on Windows ServerSafari on iPad OS 16.0Scrolled the viewport over to show the jobs screen with timestamps. It renders larger than the default view. Similarly scrolled over... Thanks again for the assistance with this! |
SaltGUI is showing the original datetime-string as it got from the salt-api here. Please open a separate issue for any other problems. It is my policy not to discuss them in the context of another issue. |
Started playing with some salt code, and noticed that it seems to be a fan of the Prince tune, 1999 Safari on Mac Edge on Mac is showing some other oddities in date conversions. Note Firefox on Windows Server is showing the sametarget systemtime is set as such:
|
that means party! the date is actually 9-9-99 |
1999 case logs:
Would you like me to open a new issue (or issues) for the other things? I'm not familiar with the codebase or your preferences for how specific you would like the issues, but I saw two things:
Thanks again for the help with this! |
I should have done a code search when you first mentioned "1999"... Can you take a quick look whether "1999" is still visible? |
thx for testing! |
803cabf
to
0e23167
Compare
…TimeString/toLocaleString
Kudos, SonarCloud Quality Gate passed!
|
Describe the bug
Salt-master 3005.1 on Ubuntu 20.04, UI shows "Invalid.731210 Date" as and example for all the start times.
Here is the output from the master's console for
salt '*' state.apply
Note the timestamp formats for the started time.
Screenshots