Directory

iron-time-behavior - Vaadin Add-on Directory

Polymer behavior that provides time-from-now string, e.g. today, yesterday, this week, earlier iron-time-behavior - Vaadin Add-on Directory
**[ This description is mirrored from README.md at [github.com/Collaborne/iron-time-behavior](https://github.com//Collaborne/iron-time-behavior/blob/2.1.0/README.md) on 2019-05-10 ]** 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) [![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/Collaborneiron-time-behavior) [![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/Collaborneiron-time-behavior.svg)](https://vaadin.com/directory/component/Collaborneiron-time-behavior) ========= Polymer hybrid behavior that provides time-from-now string, e.g. today, yesterday, this week, earlier. The element builds on the [momentjs](http://momentjs.com) library. To use this element: `bower install iron-time-behavior` ## i18n Support `iron-time-behavior` uses [Moment.js](http://momentjs.com), and so supports all locales that Moment.js supports. But, the component does not reference any specific locale, so when you want to use it with a locale other than `en` you must load the locales explicitly. ~~~~ ~~~~ ## License This software is licensed under the Apache 2 license, quoted below. Copyright 2011-2015 Collaborne B.V. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Online Demo
View on GitHub
GitHub Homepage
Documentation
Issue tracker

iron-time-behavior version 1.0.0
### Dependencies Polymer/polymer#^1.0.0 * moment#^2.8.3

iron-time-behavior version 1.0.1
### Dependencies Polymer/polymer#^1.0.0 * bendavis78/moment-element#^1.1.0

iron-time-behavior version 1.0.2
### Dependencies Polymer/polymer#^1.0.0 * Collaborne/moment-element#fix/min-ref

iron-time-behavior version 1.0.3
### Dependencies Polymer/polymer#^1.0.0 * Collaborne/moment-element#fix/min-ref

iron-time-behavior version 1.1.0
### Dependencies Polymer/polymer#^1.0.0 * Collaborne/moment-element#fix/min-ref

iron-time-behavior version 1.1.1
### Dependencies Polymer/polymer#^1.0.0 * bendavis78/moment-element#^1.1.1

iron-time-behavior version 2.0.0
### Dependencies bendavis78/moment-element#^1.1.1 * Polymer/polymer#^2.0.0

iron-time-behavior version 2.0.1
### Dependencies bendavis78/moment-element#^1.1.1 * Polymer/polymer#^2.0.0

iron-time-behavior version 2.0.2
### Dependencies Collaborne/moment-element#fix/remove-unnecessary-dependencies * Polymer/polymer#^2.0.0

iron-time-behavior version 2.1.0
### Dependencies moment-element#^3.0.1 * Polymer/polymer#^2.0.0