FR/UK or any other language except en brings `Invalid date format` errors for Reporting page
Description
Problem/Justification
None
Impact
None
Attachments
2
- 15 Feb 2025, 08:24 AM
- 15 Feb 2025, 08:24 AM
Activity
Show:
Bug Clerk February 20, 2025 at 12:21 AM
This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.
Bug Clerk February 18, 2025 at 3:59 PM
25.04-RC.1 PR: https://github.com/truenas/webui/pull/11585
Bug Clerk February 18, 2025 at 6:24 AM
Bug Clerk February 15, 2025 at 8:24 AM
Thank you for submitting this TrueNAS Bug Report! So that we can quickly investigate your issue, please attach a Debug file and any other information related to this issue through our secure and private upload service below. Debug files can be generated in the UI by navigating to System -> Advanced -> Save Debug.
https://ixsystems.atlassian.net/servicedesk/customer/portal/15/group/37/create/153
Complete
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Boris Vasilenko
Boris VasilenkoReporter
Alex Karpov
Alex KarpovLabels
Story Points
1
Original estimate
Time remaining
1h
Affects versions
Priority
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Created February 15, 2025 at 8:24 AM
Updated February 28, 2025 at 3:18 PM
Resolved February 20, 2025 at 12:21 AM
See:
The errors appears only for non EN languages, where there are some translations for the reporting page.
Probably for
Start
andEnd
text in card.My quick investigations:
I checked console message for
getDateFromString(timestamp: string, timezone?: string): Date {
params are:
Date invalide America/Los_Angeles
I've checked
legendFormatter = (legend: dygraphs.LegendData): string => {
x
there is undefined.Then, I checked:
this.reportsService.legendEventEmitterObs$.pipe(untilDestroyed(this)).subscribe({
and it depends on that
x
, here it has:clone.xHTML = this.formatTime(data.x);