Skip to content
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

feat: allow unix timestamp in Date and DateBadge components #507

Conversation

thorbrink
Copy link
Contributor

@thorbrink thorbrink commented Jan 27, 2025

This pull request includes multiple changes to enhance the functionality and testing of date handling components. The changes involve updates to composer.json, phpunit.xml, and several PHP classes and test files. The most important changes are listed below:

Improvements to Testing and Configuration:

  • composer.json: Modified the test script to include --testdox and a configuration file for PHPUnit.
  • phpunit.xml: Updated to convert various types of PHP errors to exceptions and added a new directory suffix for test files. [1] [2]

Enhancements to Date Handling:

Addition of Unit Tests:

JSON Schema Updates:

@thorbrink thorbrink changed the title feat!: enforce unix timestamp in Date component feat: allow unix timestamp in Date and DateBadge components Jan 27, 2025
@thorbrink thorbrink marked this pull request as ready for review January 27, 2025 13:52
Copy link

@thorbrink thorbrink merged commit 0a5a88c into main Jan 28, 2025
8 checks passed
@thorbrink thorbrink deleted the feature/Ta-bort-std-fr-annat-n-unix-timestamp-i-Date-component-CU-8697pb8ee branch January 28, 2025 08:24
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.

2 participants