{"id":13432933,"url":"https://github.com/Closty/date","last_synced_at":"2025-03-17T10:32:56.254Z","repository":{"id":160939665,"uuid":"260396820","full_name":"Closty/date","owner":"Closty","description":"A dynamic icon html php showing what date is today with just one link","archived":false,"fork":false,"pushed_at":"2020-05-11T10:58:19.000Z","size":24,"stargazers_count":17,"open_issues_count":1,"forks_count":6,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-10-27T13:03:23.417Z","etag":null,"topics":["calendar","dynamic","html","notion"],"latest_commit_sha":null,"homepage":"https://date.clost.net","language":"HTML","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/Closty.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":"2020-05-01T06:46:24.000Z","updated_at":"2024-08-23T03:47:56.000Z","dependencies_parsed_at":"2023-07-12T03:00:45.020Z","dependency_job_id":null,"html_url":"https://github.com/Closty/date","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/Closty%2Fdate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Closty%2Fdate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Closty%2Fdate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Closty%2Fdate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Closty","download_url":"https://codeload.github.com/Closty/date/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244016884,"owners_count":20384228,"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":["calendar","dynamic","html","notion"],"created_at":"2024-07-31T02:01:18.725Z","updated_at":"2025-03-17T10:32:55.836Z","avatar_url":"https://github.com/Closty.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"# 演示图片\n\u003cimg src=\"https://date.clost.net\" width = \"200\" height = \"200\" align=center /\u003e\n\n# 介绍\n实时更新日期的图片的静态网页，每天以图片显示今天的日历。你可以插入到某个页面中，运用这个链接实现动态日历。创作初心仅仅想在notion中的todolist中插入动态日历。但是无法用插入图片实现，因为其中包含js资源，所以将其转化为php格式，用embed命令插入页面实现动态日历。\u003cbr\u003e后来解决了这个问题，将js资源删除并使用php调用网页，从而完美实现将动态日历插入notion中。如果仍无法在notion显示，请记得关闭伪静态。\n\n\n## 演示网址\n由于php格式更加先进，现已转换php在线日历，由本人服务器支撑。\u003cbr\u003e\nphp格式：https://date.clost.net\u003cbr\u003e\n[原作者](https://github.com/edent)的svg格式：https://shkspr.mobi/svg/calendar.svg\n\n\n## 快速部署\n新建一个网站，将代码中的部分复制粘贴到你的index.php即可。或者插入我的链接https://date.clost.net 即可使用，比如：\n在你需要插入的部分插入\n`![](https://date.clost.net)`或者`\u003cimg src=\"https://date.clost.net\" width = \"200\" height = \"200\" align=center /\u003e`其中width为宽度，height为高度，align为位置left/center/right。\n\n## 其他说明\n由于是纯静态网站，你可以运用cf-workers、github page、netfly、vercel等实现无服务器搭建。\n\n## 来源\nhttps://github.com/edent/Dynamic-SVG-Calendar-Icon\n\n## 鸣谢\n[edent](https://github.com/edent)\u003cbr\u003e\n以及待添加的你\n\n\n1. a - \"am\" 或是 \"pm\"\n2. A - \"AM\" 或是 \"PM\"\n3. d - 几日，二位数字，若不足二位则前面补零; 如: \"01\" 至 \"31\"\n4. D - 星期几，三个英文字母; 如: \"Fri\"\n5. F - 月份，英文全名; 如: \"January\"\n6. h - 12 小时制的小时; 如: \"01\" 至 \"12\"\n7. H - 24 小时制的小时; 如: \"00\" 至 \"23\"\n8. g - 12 小时制的小时，不足二位不补零; 如: \"1\" 至 12\"\n9. G - 24 小时制的小时，不足二位不补零; 如: \"0\" 至 \"23\"\n10. i - 分钟; 如: \"00\" 至 \"59\"\n11. j - 几日，二位数字，若不足二位不补零; 如: \"1\" 至 \"31\"\n12. l - 星期几，英文全名; 如: \"Friday\"\n13. m - 月份，二位数字，若不足二位则在前面补零; 如: \"01\" 至 \"12\"\n14. n - 月份，二位数字，若不足二位则不补零; 如: \"1\" 至 \"12\"\n15. M - 月份，三个英文字母; 如: \"Jan\"\n16. s - 秒; 如: \"00\" 至 \"59\"\n17. S - 字尾加英文序数，二个英文字母; 如: \"th\"，\"nd\"\n18. t - 指定月份的天数; 如: \"28\" 至 \"31\"\n19. U - 总秒数\n20. w - 数字型的星期几，如: \"0\" (星期日) 至 \"6\" (星期六)\n21. Y - 年，四位数字; 如: \"1999\"\n22. y - 年，二位数字; 如: \"99\"\n23. z - 一年中的第几天; 如: \"0\" 至 \"365\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FClosty%2Fdate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FClosty%2Fdate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FClosty%2Fdate/lists"}