Skip to content

feat: add timestamp formatting for log entries #16

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

Merged
merged 1 commit into from
May 28, 2025
Merged

Conversation

dermatz
Copy link
Collaborator

@dermatz dermatz commented May 28, 2025

This pull request introduces improvements to the magento-log-viewer extension, focusing on enhanced timestamp formatting for log entries and updates to the CHANGELOG.md file to improve readability and consistency. The most significant changes include the addition of a timestamp formatting function, integration of this function into the log viewer, and structural updates to the changelog.

Timestamp Formatting Enhancements:

  • src/helpers.ts: Added a new formatTimestamp function to convert ISO timestamps in log entries to a localized user format, ensuring better readability.
  • src/logViewer.ts: Integrated the formatTimestamp function into the log viewer, formatting timestamps in log entries displayed in the tree view. [1] [2]

Changelog Updates:

  • CHANGELOG.md: Improved readability by updating section headings to use consistent markdown syntax (### instead of ##) and added a new entry for the upcoming release documenting the timestamp formatting feature. [1] [2]

@dermatz dermatz merged commit d73ddaf into main May 28, 2025
4 checks passed
@dermatz dermatz deleted the feature/timestamp branch May 28, 2025 21:06
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