o-date

JS

Utility for formatting and updating dates

View on GitHub

Quick start

Using the build service

Add the following token to your script tag (how do I do that?):

o-date@^2.10.2

For more information see the Origami build service.

Using a manual build process

Run the following command in the root directory of your project, to add this dependency to your bower.json file:

bower install --save "o-date"@"^2.10.2"

For more information see the Origami build process.

declarative


			

Date will be set using the string in the datetime attribute and rendered as an absolute date as it was over a year ago.

Component information

Latest stable version:
2.10.2 (1 month, 4 days old)
Status (Learn more):
Active (as of 2.10.2)
Bundle sizes:
5.07KB JavaScript 82b CSS
This version
2.10.2 (1 month, 4 days old)
Support status (Learn more):
Active (as of 2.10.2)
Last indexed
18 Oct 2017 11:45:20 (Build now)
Installable?
OK
Dependencies
None
Dependents
alphaville-marketslive-chatalphaville-most-recent-postalphaville-uifastft-api-clientn-uin-ui-foundationso-chat

Contact

To talk to the team you can contact the Origami team on Slack channel #ft-origami or directly by email at origami-support@ft.com

Report an issue

Origami