Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@
"bug"
]
},
{
"login": "sdecalom",
"name": "Sebastien DECALOM",
"avatar_url": "https://avatars.githubusercontent.com/u/3275377?s=96&v=4",
"profile": "https://github.com/sdecalom",
"contributions": [
"code"
]
}
Copy link

Copilot AI Sep 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing comma after the closing brace on line 34. This will cause a JSON syntax error.

Suggested change
}
},

Copilot uses AI. Check for mistakes.
{
"login": "LeeSaferite",
"name": "Lee Saferite",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ protected function _getFormat($date)
}
return null;
}

/**
* Set created date
* Set created date in UTC time zone
Expand All @@ -46,7 +47,7 @@ public function beforeSave($object)
} else {
// convert to UTC
$zendDate = Mage::app()->getLocale()->utcDate(null, $date, true, $this->_getFormat($date));
$object->setData($attributeCode, $zendDate->getIso());
$object->setData($attributeCode, $zendDate->toString('yyyy-MM-dd HH:mm:ss'));
}

return $this;
Expand Down
Loading