The Localised Date Format (LDF) extension allows Store Owners to quickly configure:

  • How Dates are Displayed throughout an entire OpenCart store.
  • How Dates are Entered into Datepicker input and search fields.
  • Whether or not to display the Time.

Dates can be formatted as ISO, American, European or Custom formats. The Date separator can be a slash, dash or dot within Datepicker input fields.

List Views and Datepicker input fields each have a separate format. This allows dates to be input using a short format and displayed in a longer, more descriptive format. Datepicker input fields are utilized by all Search Filters and when Adding or Editing items that contain Date or Time settings.

ISO Date format (big-endian)

  • Dates can be input as: 2017-01-03
  • Dates can be displayed as: 2017 January 03 (or any format)

American Date format (middle-endian)

  • Dates can be input as: 1/3/17
  • Dates can be displayed as: January 3rd, 2017 (or any format).

European Date format (little-endian)

  • Dates can be input as: 3/1/17
  • Dates can be displayed as: 3. January 2017 (or any format)

Features:

  • American, European, ISO and Custom Date & Time formats
  • Configuration setting for Datepicker Date format
  • Configuration settings for 'short' and 'long' Date formats
  • 12-hour or 24-hour Time formats
  • Option to display Time along with the Date in list views

Download Instructions:

After purchasing Localised Date Format, it can be download from your Account > Downloads page.

Installation Instructions (OCMod):

  1. Backup your Database.
  2. Navigate to the Extension Installer and click the Upload button.
  3. Select the localised_date_format.ocmod.zip file and upload the extension.
  4. Go to the Modifications page and Click the Refresh button.

Un-Install Instructions:

  1. Navigate to the Modifications page and select the checkbox next to Localized Date Format.
  2. Click the Delete Button and confirm removal.
  3. Click the Refresh button.
  4. Using FTP or file manager, delete the following files:
    • /system/library/dateformat.php
    • /admin/controller/localisation/dateformat.php
    • /admin/language/en-gb/localisation/dateformat.php
    • /admin/model/localisation/dateformat.php
    • /admin/view/template/localisation/dateformat_form.tpl
    • /admin/view/template/localisation/dateformat_list.tpl

Database Changes:

  • Added dateformat table
  • Added dateformat_to_format table

Support:

Localised Date Format documentation and discussions are available in the User Forums

OpenCart Specs
Compatibility 3.0.2.0
Free Support 90 Days

Write a review

Note: HTML is not translated!
    Bad           Good

Localised Date Format

OpenCart Compatibility
3.0.2.0
  • $20.00