Created
May 3, 2019 06:56
-
-
Save mehedicsit/2ec46f5d77bdda953f73b345a88014be to your computer and use it in GitHub Desktop.
us date format for opencart 3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Modify the catalog English default.php file --> | |
-<file name="catalog/language/en-gb/en-gb.php"> | |
$_['date_format_short'] = 'd/m/Y'; replace this line with | |
this line | |
$_['date_format_short'] = 'm/d/Y'; | |
$_['date_format_long'] = 'l dS F Y'; | |
replace this line with | |
this line | |
$_['date_format_long'] = 'l, F j, Y'; | |
<!-- Modify the admin English default.php file --> | |
$_['date_format_short'] = 'd/m/Y'; replace this line with | |
this line | |
$_['date_format_short'] = 'm/d/Y'; | |
$_['date_format_long'] = 'l dS F Y'; | |
replace this line with | |
this line | |
$_['date_format_long'] = 'l, F j, Y'; | |
-<file name="admin/language/en-gb/en-gb.php"> | |
$_['date_format_short'] = 'd/m/Y'; replace this line with | |
this line | |
$_['date_format_short'] = 'm/d/Y'; | |
$_['date_format_long'] = 'l dS F Y'; | |
replace this line with | |
this line | |
$_['date_format_long'] = 'l, F j, Y'; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check the screenshot how date format has been changed