ToolMaple(toolmaple.com)台灣吉日 /tools/good-days 使用的第三方資料 ======================================================================== 使用的部分 lunar-javascript 1.7.8(6tail) https://github.com/6tail/lunar-javascript LunarUtil.DAY_YI_JI 與 LunarUtil.YI_JI(每日宜忌查表) 我們怎麼用 - 把原表的「月干支 × 日干支」轉成「節月地支 × 日干支」720 格(同一個月支、不同月干的原表內容相同)。 - 用語由簡體字轉成台灣正體字(opencc-js cn→twp,另把「作梁」寫成「作樑」)。 - 宜忌的項目沒有增刪;頁面上「好日子」的挑法是:當天宜該項、忌裡沒有該項、而且不是「諸事不宜」。 - 干支、節月、建除十二神、黃道黑道、沖煞、吉時是本站自己照公開規則寫的程式, 並在測試裡跟 lunar-javascript 逐日比對 2026–2028 年。 - 轉換腳本:scripts/build-tw-yiji.mjs;轉換結果:src/lib/tw-yiji.json。 資料出處的說明 程式庫作者在官方文件(https://6tail.cn/calendar/lunar.yiji.html)寫明: 宜忌資料是整理網路萬年曆十多年的資料,可能與其他地方的數據存在出入,僅供參考。 各家農民曆的宜忌本來就不完全一樣,重要的日子請再對照手邊的農民曆或請教擇日老師。 授權全文 ------------------------------------------------------------------------ MIT License Copyright (c) 2018 6tail Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.