Skip to content

Instantly share code, notes, and snippets.

@Graham-72
Created April 2, 2015 06:20

Revisions

  1. Graham-72 created this gist Apr 2, 2015.
    68 changes: 68 additions & 0 deletions system.date.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,68 @@
    {
    "_config_name": "system.date",
    "first_day": 0,
    "default_country": "GB",
    "default_timezone": "Europe/London",
    "user_timezone_configurable": 1,
    "user_timezone_default": 0,
    "user_timezone_warn": 0,
    "formats": {
    "long": {
    "label": "Default Long Date",
    "pattern": "l, F j, Y - H:i",
    "module": "system"
    },
    "medium": {
    "label": "Default Medium Date",
    "pattern": "D, m/d/Y - H:i",
    "module": "system"
    },
    "short": {
    "label": "Default Short Date",
    "pattern": "m/d/Y - H:i",
    "module": "system"
    },
    "html_datetime": {
    "label": "HTML Datetime",
    "pattern": "Y-m-d\\TH:i:sO",
    "module": "system",
    "hidden": 1
    },
    "html_date": {
    "label": "HTML Date",
    "pattern": "Y-m-d",
    "module": "system",
    "hidden": 1
    },
    "html_time": {
    "label": "HTML Time",
    "pattern": "H:i:s",
    "module": "system",
    "hidden": 1
    },
    "html_yearless_date": {
    "label": "HTML Yearless date",
    "pattern": "m-d",
    "module": "system",
    "hidden": 1
    },
    "html_week": {
    "label": "HTML Week",
    "pattern": "Y-\\WW",
    "module": "system",
    "hidden": 1
    },
    "html_month": {
    "label": "HTML Month",
    "pattern": "Y-m",
    "module": "system",
    "hidden": 1
    },
    "html_year": {
    "label": "HTML Year",
    "pattern": "Y",
    "module": "system",
    "hidden": 1
    }
    }
    }