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

Enable date-formatting overrides #22

Closed
lat9 opened this issue Dec 23, 2019 · 0 comments
Closed

Enable date-formatting overrides #22

lat9 opened this issue Dec 23, 2019 · 0 comments

Comments

@lat9
Copy link
Owner

lat9 commented Dec 23, 2019

The current date formatting uses definitions which "should" be overridable via a store-specific extra_datafiles module:

$time_display = (strtolower(DATE_FORMAT) == 'd/m/y') ? 'n-j-Y' : 'jS-M-y';
define('TIME_DISPLAY_DAY', $time_display);
define('TIME_DISPLAY_WEEK', $time_display);
define('TIME_DISPLAY_MONTH', $time_display);
define('TIME_DISPLAY_YEAR', $time_display);
@lat9 lat9 added the change label Dec 23, 2019
@lat9 lat9 added this to the v3.3.3 milestone Dec 23, 2019
@lat9 lat9 closed this as completed Jan 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant