{"id":13761444,"url":"https://github.com/oscarmorrison/moment-emoji","last_synced_at":"2026-01-03T13:04:06.133Z","repository":{"id":71204143,"uuid":"195244076","full_name":"oscarmorrison/moment-emoji","owner":"oscarmorrison","description":"🕔 library that returns the approximate emoji for the time","archived":false,"fork":false,"pushed_at":"2019-07-04T22:51:36.000Z","size":14,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-22T13:19:24.486Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://oscarmorrison.com/moment-emoji/","language":null,"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/oscarmorrison.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-07-04T13:09:57.000Z","updated_at":"2024-05-23T11:50:16.000Z","dependencies_parsed_at":"2023-06-27T00:24:33.092Z","dependency_job_id":null,"html_url":"https://github.com/oscarmorrison/moment-emoji","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscarmorrison%2Fmoment-emoji","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscarmorrison%2Fmoment-emoji/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscarmorrison%2Fmoment-emoji/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscarmorrison%2Fmoment-emoji/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oscarmorrison","download_url":"https://codeload.github.com/oscarmorrison/moment-emoji/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243807355,"owners_count":20350989,"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-08-03T13:01:55.281Z","updated_at":"2026-01-03T13:04:01.100Z","avatar_url":"https://github.com/oscarmorrison.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# moment-emoji\n🕔 library that returns the approximate emoji for the time\n\n\n## Use\n- ensure you have [moment](https://github.com/moment/moment/) (hard requirement), loaded first\n- src moment-emoji.js (or copy in file into your js)\n\non any moment time, just called `moment().emoji()`\n\n```\n\u003chtml\u003e\n\n\u003cbody\u003e\n\u003cscript src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://raw.githack.com/oscarmorrison/moment-emoji/master/moment-emoji.js\"\u003e\u003c/script\u003e\n\n\n\u003cscript\u003e\n  var time = moment();\n  var emoji = time.emoji();\n  console.log(time.format('hh:mm'), emoji);\n\u003c/script\u003e\n\n\u003c/body\u003e\n\u003c/html\u003e\n\n```\n\n## Demo\n\nhttp://oscarmorrison.com/moment-emoji/\n\n\u003cimg width=\"362\" alt=\"Screen Shot 2019-07-04 at 11 42 25 pm\" src=\"https://user-images.githubusercontent.com/1651212/60671055-96560600-9eb5-11e9-9cb4-dafaba31918b.png\"\u003e\n\n## Usecase\n\nWhy would anyone ever use this? I used it for a quick [uebersicht](https://github.com/felixhageloh/uebersicht) widget that I made.\n\n\u003cimg width=\"147\" alt=\"Screen Shot 2019-07-04 at 11 49 22 pm\" src=\"https://user-images.githubusercontent.com/1651212/60671430-6b1fe680-9eb6-11e9-8b7f-d70a18f47c92.png\"\u003e\n\n## Caveat\n\nThis was made on MacOS, not sure if it works on other platforms.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foscarmorrison%2Fmoment-emoji","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foscarmorrison%2Fmoment-emoji","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foscarmorrison%2Fmoment-emoji/lists"}