{"id":18347937,"url":"https://github.com/collaborne/iron-time-behavior","last_synced_at":"2026-01-20T08:32:19.052Z","repository":{"id":57741186,"uuid":"49422897","full_name":"Collaborne/iron-time-behavior","owner":"Collaborne","description":"Polymer behavior that provides time-from-now string, e.g. today, yesterday, this week, earlier","archived":false,"fork":false,"pushed_at":"2018-12-05T15:33:38.000Z","size":44,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-15T15:08:29.542Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.webcomponents.org/element/Collaborne/iron-time-behavior","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Collaborne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-11T11:51:07.000Z","updated_at":"2018-12-05T15:33:40.000Z","dependencies_parsed_at":"2022-09-09T06:01:40.569Z","dependency_job_id":null,"html_url":"https://github.com/Collaborne/iron-time-behavior","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Collaborne%2Firon-time-behavior","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Collaborne%2Firon-time-behavior/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Collaborne%2Firon-time-behavior/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Collaborne%2Firon-time-behavior/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Collaborne","download_url":"https://codeload.github.com/Collaborne/iron-time-behavior/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248128007,"owners_count":21052335,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T21:15:46.640Z","updated_at":"2026-01-20T08:32:19.047Z","avatar_url":"https://github.com/Collaborne.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"iron-time-behavior [![Bower version](https://badge.fury.io/bo/iron-time-behavior.svg)](http://badge.fury.io/bo/iron-time-behavior) [![Travis state](https://travis-ci.org/Collaborne/iron-time-behavior.svg?branch=master)](https://travis-ci.org/Collaborne/iron-time-behavior) [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/Collaborne/iron-time-behavior)\n\n[![Published on Vaadin  Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/Collaborneiron-time-behavior)\n[![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/Collaborneiron-time-behavior.svg)](https://vaadin.com/directory/component/Collaborneiron-time-behavior)\n=========\n\nPolymer hybrid behavior that provides time-from-now string, e.g. today, yesterday, this week, earlier.\n\nThe element builds on the [momentjs](http://momentjs.com) library.\n\nTo use this element:\n\n`bower install iron-time-behavior`\n\n\n## i18n Support\n\n`iron-time-behavior` uses [Moment.js](http://momentjs.com), and so supports all locales that Moment.js supports. But,\nthe component does not reference any specific locale, so when you want to use it with a locale other than `en` you must\nload the locales explicitly.\n\n~~~~\n\u003clink rel=\"import\" href=\"bower_components/iron-time-behavior/iron-time-behavior.html\"\u003e\n\u003cscript src=\"bower_components/moment/min/locales.js\"\u003e\u003c/script\u003e\n~~~~\n\n## License\n\n    This software is licensed under the Apache 2 license, quoted below.\n\n    Copyright 2011-2015 Collaborne B.V. \u003chttp://github.com/Collaborne/\u003e\n\n    Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n    use this file except in compliance with the License. You may obtain a copy of\n    the License at\n\n        http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n    License for the specific language governing permissions and limitations under\n    the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcollaborne%2Firon-time-behavior","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcollaborne%2Firon-time-behavior","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcollaborne%2Firon-time-behavior/lists"}