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

Deprecate Date_Short and removed strftime #4462

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Conversation

Hanmac
Copy link
Contributor

@Hanmac Hanmac commented Jan 8, 2025

Description (*)

Deprecated Mage_Adminhtml_Model_System_Config_Source_Date_Short because it uses strftime format strings as values.
Replaced strftime with date

Related Pull Requests

  • see OpenMage/magento-lts#<issue_number>

Fixed Issues (if relevant)

Manual testing scenarios (*)

  1. ...
  2. ...

Questions or comments

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All automated tests passed successfully (all builds are green)

Deprecate Class because the values are strftime format strings

removed strftime and replace with date calls
@Hanmac
Copy link
Contributor Author

Hanmac commented Jan 8, 2025

Failed asserting that exception message 'Class "Mage_Invalid_Block_Type" not found' contains 'Class 'Mage_Invalid_Block_Type' not found'.

Somehow the quotation marks changed?

@sreichel sreichel merged commit d76745b into OpenMage:main Jan 8, 2025
14 of 17 checks passed
fballiano added a commit to MahoCommerce/maho that referenced this pull request Jan 9, 2025
@Hanmac Hanmac deleted the patch-1 branch January 11, 2025 07:37
@OpenMage OpenMage deleted a comment from allcontributors bot Jan 11, 2025
@OpenMage OpenMage deleted a comment from allcontributors bot Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Searching the code there are still some strftimes present:
3 participants