UNPKG

@financial-times/o-date

Version:

JavaScript utilities for formatting and updating dates in the FT style. Also useful for formatting dates relative to the current time.

34 lines (33 loc) 987 B
{ "name": "@financial-times/o-date", "version": "7.0.0", "type": "module", "browser": "main.js", "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" ], "homepage": "https://registry.origami.ft.com/components/o-date", "bugs": { "url": "https://github.com/Financial-Times/origami/issues/new?labels=o-date,components", "email": "origami.support@ft.com" }, "license": "MIT", "engines": { "npm": ">7" }, "scripts": { "start": "npx serve ./demos/local", "build": "bash ../../scripts/component/build.bash", "test": "bash ../../scripts/component/test.bash", "debug:js": "bash ../../scripts/component/debug-js.bash", "lint": "bash ../../scripts/component/lint.bash", "watch": "bash ../../scripts/component/watch.bash" }, "dependencies": { "@financial-times/ft-date-format": "^3.0.0" }, "private": false }