{"id":19522170,"url":"https://github.com/captaincodeman/time-display","last_synced_at":"2025-07-10T00:38:40.620Z","repository":{"id":58242627,"uuid":"66569761","full_name":"CaptainCodeman/time-display","owner":"CaptainCodeman","description":"Time display and time-diff (timeago) elements for Polymer","archived":false,"fork":false,"pushed_at":"2018-09-19T18:27:50.000Z","size":2573,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-12T08:50:24.361Z","etag":null,"topics":["datetime","polymer","timeago","webcomponents"],"latest_commit_sha":null,"homepage":"http://captaincodeman.github.io/time-display/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CaptainCodeman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-25T15:23:07.000Z","updated_at":"2020-02-11T20:17:14.000Z","dependencies_parsed_at":"2022-08-31T04:22:10.664Z","dependency_job_id":null,"html_url":"https://github.com/CaptainCodeman/time-display","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/CaptainCodeman/time-display","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Ftime-display","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Ftime-display/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Ftime-display/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Ftime-display/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CaptainCodeman","download_url":"https://codeload.github.com/CaptainCodeman/time-display/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Ftime-display/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264506286,"owners_count":23619007,"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":["datetime","polymer","timeago","webcomponents"],"created_at":"2024-11-11T00:37:30.112Z","updated_at":"2025-07-10T00:38:40.593Z","avatar_url":"https://github.com/CaptainCodeman.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Published on Vaadin  Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/CaptainCodemantime-display)\n[![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/CaptainCodemantime-display.svg)](https://vaadin.com/directory/component/CaptainCodemantime-display)\n\n_[Demo and API docs](http://captaincodeman.github.io/time-display/)_\n\n# time-display\n\nA set of elements for dealing with time in Polymer\n\n`\u003ctime-display\u003e` is an element to display time in human readable format using [fecha](https://github.com/taylorhakes/fecha)\n\n`\u003ctime-diff\u003e` is an element to display relative time in human readable format (i.e. \"timeago\")\n\nFor both elements, the datetime should be provided as an ISO 8601 formatted string (UTC) or\n'now' to use the current system datetime. Each user will see the time difference and display\nbased on their own local time.\n\nExamples:\n\n```\n\u003ctime-display datetime=\"2016-08-23T12:00:00.00\" format=\"dddd, MMMM Do, YYYY\"\u003e\u003c/time-display\u003e\n```\nDisplays: 'Tuesday, August 23rd, 2016' (in Mountain-Time timezone)\n\n```\n\u003ctime-diff\u003e\u003c/time-diff\u003e\n```\n\nDisplays: '5 minutes ago' (after 5 minutes) and updates as time goes on\n\n```\n\u003ctime-diff datetime=\"2016-08-23T12:00:00.00\"\u003e\u003c/time-diff\u003e\n```\n\nDisplays: '2 days ago' (when this was authored)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptaincodeman%2Ftime-display","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaptaincodeman%2Ftime-display","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptaincodeman%2Ftime-display/lists"}