{"id":18896440,"url":"https://github.com/shoaib-fateh/digital-clock","last_synced_at":"2026-04-17T08:03:36.442Z","repository":{"id":168842188,"uuid":"550418244","full_name":"shoaib-fateh/digital-clock","owner":"shoaib-fateh","description":"This is a simple digital clock created with HTML, CSS and JavaScript. It displays the current time in a digital format (hours:minutes:seconds).","archived":false,"fork":false,"pushed_at":"2023-10-15T03:12:52.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-08T08:05:23.284Z","etag":null,"topics":["css","html","javascript"],"latest_commit_sha":null,"homepage":"https://shoaib-fateh.github.io/digital-clock/","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/shoaib-fateh.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,"governance":null}},"created_at":"2022-10-12T18:26:17.000Z","updated_at":"2024-09-06T14:25:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"be0e6d01-bed8-4aa2-9457-9813340287f5","html_url":"https://github.com/shoaib-fateh/digital-clock","commit_stats":null,"previous_names":["shoaib-fateh/clock-1","shoaib-fateh/digital-clock"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shoaib-fateh/digital-clock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shoaib-fateh%2Fdigital-clock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shoaib-fateh%2Fdigital-clock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shoaib-fateh%2Fdigital-clock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shoaib-fateh%2Fdigital-clock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shoaib-fateh","download_url":"https://codeload.github.com/shoaib-fateh/digital-clock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shoaib-fateh%2Fdigital-clock/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267029407,"owners_count":24024199,"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-07-25T02:00:09.625Z","response_time":70,"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":["css","html","javascript"],"created_at":"2024-11-08T08:33:56.818Z","updated_at":"2026-04-17T08:03:36.375Z","avatar_url":"https://github.com/shoaib-fateh.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Digital Clock\nThis is a simple digital clock created with HTML, CSS and JavaScript. It displays the current time in a digital format (hours:minutes:seconds).\n\n## How It Works\nThe clock element in HTML displays the time\nA JavaScript function gets the current date/time using the Date object\nIt extracts the hours, minutes and seconds\nleading zeros are added for values \u003c 10\nThe time is displayed in the clock element by concatenating the values\nThe function runs every 500ms using setTimeout to update the clock\n\n## Live Demo\nYou can see it working live at https://shoaib-fateh.github.io/digital-clock/\n\n## Usage\nTo use it, include the HTML, CSS and JavaScript files. Call the clockFunction on page load to initially display the time.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshoaib-fateh%2Fdigital-clock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshoaib-fateh%2Fdigital-clock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshoaib-fateh%2Fdigital-clock/lists"}