Skip to content

Conversation

@kiatng
Copy link
Contributor

@kiatng kiatng commented Feb 6, 2024

Description (*)

Test script:

$result = Mage::helper('core')->formatDate('1970-01-01');
// or Mage::helper('core')->formatDate('1 Jan 1970');
Zend_Debug::dump($result);

Before PR:

string(0) ""

After PR, depending on your locale default format:

 string(10) "01/01/1970"

Related Pull Requests

PR #1525

@github-actions github-actions bot added the Component: Core Relates to Mage_Core label Feb 6, 2024
@fballiano fballiano merged commit 444c4b0 into OpenMage:main Feb 6, 2024
@kiatng kiatng deleted the 1970-01-01_bug branch February 7, 2024 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Core Relates to Mage_Core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants