Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (43 sloc) 1.29 KB
{
"description": "JavaScript utilities for formatting and updating dates in the FT style. Also useful for formatting dates relative to the current time.",
"keywords": ["datetime", "time", "timestamp"],
"origamiType": "module",
"origamiCategory": "utilities",
"origamiVersion": 1,
"support": "https://github.com/Financial-Times/o-date/issues",
"supportContact": {
"email": "origami.support@ft.com",
"slack": "financialtimes/ft-origami"
},
"supportStatus": "active",
"features": {
"required": [
"classlist",
"customevent"
]
},
"ci": {
"circle": "https://circleci.com/api/v1/project/Financial-Times/o-date"
},
"demosDefaults": {
"js": "demos/src/demo.js",
"sass": "demos/src/demo.scss"
},
"demos": [
{
"name": "declarative",
"template": "demos/src/declarative.mustache",
"js": "demos/src/declarative.js",
"title": "Declarative",
"description": "Date will be set using the string in the datetime attribute and rendered as an absolute date as it was over a year ago."
},
{
"name": "imperative",
"template": "demos/src/imperative.mustache",
"js": "demos/src/imperative.js",
"hidden": true,
"title": "Imperative",
"description": "We're setting the datetime attribute on both date elements imperatively and these are then rendered as relative dates"
}
]
}
You can’t perform that action at this time.