Skip to content

1.2.0

Compare
Choose a tag to compare
@rjsamra rjsamra released this 16 Jun 06:21
· 13 commits to main since this release
ebd4ee8

[v1.2.0] - 2024-06-15

Added

  • Date Handling in json Method: Updated the json method to correctly handle date conversion from Excel. The function now checks if a cell is formatted as a date and converts it to a readable date string (d/m/Y). This ensures numeric values that are not dates are not mistakenly converted.

  • Date Handling in collection Method: Similar updates were made to the collection method. This ensures that date cells are correctly identified and converted to readable date strings while preserving other numeric values.

Fixed

  • Deprecated Method Usage: Replaced deprecated getCellByColumnAndRow method with the recommended getCell() method using cell addresses. This change ensures compatibility with the latest version of PhpSpreadsheet and improves code maintainability.

Installation and Upgrade Notes

To upgrade to this version, ensure your composer.json file specifies the appropriate version for knackline/excel-to-x and run composer update.


Contributors


This release improves the handling of Excel date conversions, ensuring data integrity and compatibility with newer versions of dependencies.