{"id":16139907,"url":"https://github.com/nathanhoad/react-timestamp","last_synced_at":"2025-08-12T18:05:46.795Z","repository":{"id":2984692,"uuid":"48081137","full_name":"nathanhoad/react-timestamp","owner":"nathanhoad","description":"A React component for displaying a UTC datetime in the local timezone","archived":false,"fork":false,"pushed_at":"2022-10-16T06:18:37.000Z","size":414,"stargazers_count":50,"open_issues_count":0,"forks_count":17,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T14:50:54.630Z","etag":null,"topics":["datetime","react","timestamp"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nathanhoad.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":"2015-12-16T02:06:39.000Z","updated_at":"2024-05-28T20:38:33.000Z","dependencies_parsed_at":"2022-08-07T04:16:13.862Z","dependency_job_id":null,"html_url":"https://github.com/nathanhoad/react-timestamp","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/nathanhoad/react-timestamp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanhoad%2Freact-timestamp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanhoad%2Freact-timestamp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanhoad%2Freact-timestamp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanhoad%2Freact-timestamp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nathanhoad","download_url":"https://codeload.github.com/nathanhoad/react-timestamp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanhoad%2Freact-timestamp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270109371,"owners_count":24528789,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","react","timestamp"],"created_at":"2024-10-09T23:50:08.173Z","updated_at":"2025-08-12T18:05:46.710Z","avatar_url":"https://github.com/nathanhoad.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Timestamp\n\nRender a nice looking time.\n\n## Usage\n\nIf you only provide a date then it will just format it nicely:\n\n```jsx\n\u003cTimestamp date={Date} /\u003e // 26 Mar 2018, 10:30am\n```\n\nIf you enable `relative` then you'll get something like:\n\n```jsx\n\u003cTimestamp relative date={Date} /\u003e // 4 hours ago\n\u003cTimestamp relative date={Date} /\u003e // in 4 hours\n\u003cTimestamp relative date={Date} relativeTo={Date} /\u003e // 4 hours\n\u003cTimestamp relative date={Date} relativeTo={Date} /\u003e // 2 years\n\n\u003cTimestamp relative date={Date} autoUpdate /\u003e // 1 minute ago, 2 minutes ago, 3 minutes ago\n```\n\nOther options are set by passing an `options` prop:\n\n```jsx\n\u003cTimestamp date={Date} options={{ includeDay: true, twentyFourHour: true }} /\u003e // Tuesday, 26 Mar 2018, 16:30\n```\n\n## Authors\n\n- Nathan Hoad - [nathan@nathanhoad.net](mailto:nathan@nathanhoad.net)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanhoad%2Freact-timestamp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnathanhoad%2Freact-timestamp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanhoad%2Freact-timestamp/lists"}