{"id":25073545,"url":"https://github.com/tichavich/date-range-picker-thai","last_synced_at":"2026-04-14T00:04:13.991Z","repository":{"id":276179320,"uuid":"928467991","full_name":"tichavich/Date-Range-Picker-Thai","owner":"tichavich","description":"DateRangePicker Thai  ปฏิทินแบบไทยๆ ใช้สไตล์ bootstrap","archived":false,"fork":false,"pushed_at":"2025-03-08T12:55:24.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-08T13:28:17.116Z","etag":null,"topics":["bootstrap","buddhist","date","date-picker","date-range-picker","datepicker","daterangepicker","datetime","thai","thailand"],"latest_commit_sha":null,"homepage":"https://tichavich.github.io/Date-Range-Picker-Thai/","language":"JavaScript","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/tichavich.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-06T17:32:46.000Z","updated_at":"2025-03-08T12:55:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"929feee2-7758-4ee6-80bc-8527baf94d18","html_url":"https://github.com/tichavich/Date-Range-Picker-Thai","commit_stats":null,"previous_names":["tichavich/date-range-picker-thai"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tichavich%2FDate-Range-Picker-Thai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tichavich%2FDate-Range-Picker-Thai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tichavich%2FDate-Range-Picker-Thai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tichavich%2FDate-Range-Picker-Thai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tichavich","download_url":"https://codeload.github.com/tichavich/Date-Range-Picker-Thai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246523847,"owners_count":20791444,"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":["bootstrap","buddhist","date","date-picker","date-range-picker","datepicker","daterangepicker","datetime","thai","thailand"],"created_at":"2025-02-06T23:28:59.773Z","updated_at":"2026-04-14T00:04:13.962Z","avatar_url":"https://github.com/tichavich.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Date-Range-Picker-Thai\n    DateRangePicker  ปฏิทินแบบไทยๆ ที่มีการปรับแต่งค่าที่คิดว่าเหมาะสมกับการใช้งาน วัน/เดือน/ปี และวิธีการตั้งค่าใช้งานปฏิทิน\n\n## ติดตั้ง Library\n```\n\u003clink rel=\"stylesheet\" href=\"src/dateRangePicker/daterangepicker.css\"\u003e\n\u003cscript type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/jquery/latest/jquery.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.30.1/moment.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.30.1/locale/th.min.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"src/dateRangePicker/daterangepicker-custom.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"src/dateRangePicker/daterangepicker-config.js\"\u003e\u003c/script\u003e\n```\n\n## ปรับแก้อะไรใน Library (Date Range Picker)\n1. เพิ่ม options เปิดใช้งานปีพุทธศักราช ***buddhistYear*** ค่าเริ่มต้นเป็น **true**\n![กำหนดค่า true](images/image.png)\n\n2. ปรับ CSS ให้มีเรียกใช้ชุดสีผ่าน var() ที่มีการตั้งค่า theme\n![เรียกใช้ theme](images/image-1.png)\n\n## ตัวอย่างการนำไปใช้\nhttps://tichavich.github.io/Date-Range-Picker-Thai/\n\n## References\n1. [GitHub daterangepicker](https://github.com/dangrossman/daterangepicker)\n2. [daterangepicker](https://www.daterangepicker.com/)\n\n\n## License\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftichavich%2Fdate-range-picker-thai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftichavich%2Fdate-range-picker-thai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftichavich%2Fdate-range-picker-thai/lists"}