Skip to content

Fix date formatting and i18n month warnings in BackupsTable#26

Open
rahul810050 wants to merge 1 commit intooaiedu:masterfrom
rahul810050:fix/backups-table-date-formatting
Open

Fix date formatting and i18n month warnings in BackupsTable#26
rahul810050 wants to merge 1 commit intooaiedu:masterfrom
rahul810050:fix/backups-table-date-formatting

Conversation

@rahul810050
Copy link

Fixed issue: #25

PR Summary

This PR fixes multiple date-related issues in the Backups table.

What was fixed

  • Prevents SHARED.DATE.MONTH.undefined vue-i18n warnings by safely resolving month keys.
  • Handles missing or invalid end dates gracefully (e.g. backups still in progress).
  • Initializes months defensively to avoid access before store hydration.

Changes made

  • Added guards before calling $t("SHARED.DATE.MONTH.*").
  • Improved formatDate() to handle null/invalid date values.
  • UX improvement: replaces "SHA date" with a safe placeholder for ongoing backups.
  • added key value for in progress in all the languages

Before:
image

After:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant