From ea26ffcf56d781897168887157a3bc12be79b5e5 Mon Sep 17 00:00:00 2001 From: Ninglin Du Date: Thu, 1 Aug 2024 14:41:43 +0800 Subject: [PATCH] =?UTF-8?q?[DUCK]=20=E8=8A=82=E6=97=A5=E8=B0=83=E6=95=B4?= =?UTF-8?q?=20(#231)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 节日调整至唯一,期待更好的方法出现 --- .../duckling/dimension/time/helper/HolidayProvider.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/duckling-fork-chinese/core/src/main/scala/com/xiaomi/duckling/dimension/time/helper/HolidayProvider.scala b/duckling-fork-chinese/core/src/main/scala/com/xiaomi/duckling/dimension/time/helper/HolidayProvider.scala index 1ca869b..c24cb25 100644 --- a/duckling-fork-chinese/core/src/main/scala/com/xiaomi/duckling/dimension/time/helper/HolidayProvider.scala +++ b/duckling-fork-chinese/core/src/main/scala/com/xiaomi/duckling/dimension/time/helper/HolidayProvider.scala @@ -103,7 +103,7 @@ class LocalHolidayProvider extends HolidayProvider { (monthDay(10, 1), "国际老人节", "国际老人日|国际老人节"), (monthDay(10, 5), "世界教师日", "世界教师日|国际教师节"), (monthDay(10, 1), "国庆节", "十一国庆节|国庆节|国庆日|十一|国庆"), - (monthDay(10, 10), "台湾国庆日", "台湾国庆日|国庆日"), + (monthDay(10, 10), "台湾国庆日", "台湾国庆日"), (monthDay(10, 10), "辛亥革命纪念日", "辛亥革命纪念日"), (monthDay(10, 12), "哥伦布日", "哥伦布日"), (monthDay(10, 13), "世界保健日", "世界保健日"), @@ -169,7 +169,7 @@ class LocalHolidayProvider extends HolidayProvider { (monthDay(3, 22), "世界水日", "世界水日"), (monthDay(3, 23), "国家气象日", "国家气象日|气象日"), (monthDay(3, 24), "世界防治结核病日", "世界防治结核病日|防治结核病日"), - (monthDay(3, 27), "台湾青年节", "台湾青年节|青年节"), + (monthDay(3, 27), "台湾青年节", "台湾青年节"), (monthDay(3, 27), "世界戏剧日", "世界戏剧日"), (monthDay(3, 5), "学雷锋纪念日", "学雷锋纪念日|雷锋纪念日|学雷锋日"), (monthDay(3, 7), "女生节", "女生节"), @@ -196,7 +196,7 @@ class LocalHolidayProvider extends HolidayProvider { (monthDay(5, 4), "五四青年节", "中国五四青年节|五四青年节|中国54青年节|54青年节|中国青年节|青年节"), (monthDay(5, 8), "世界红十字日", "世界红十字日"), (monthDay(6, 1), "儿童节", "国际六一儿童节|六一儿童节|国际61儿童节|61儿童节|儿童节|六一"), - (monthDay(4, 4), "台湾儿童节", "台湾儿童节|儿童节"), + (monthDay(4, 4), "台湾儿童节", "台湾儿童节"), (monthDay(6, 11), "中国人口日", "中国人口日"), (monthDay(6, 14), "世界献血日", "世界献血日"), (monthDay(6, 15), "健康素食日", "健康素食日"), @@ -221,7 +221,7 @@ class LocalHolidayProvider extends HolidayProvider { (monthDay(8, 12), "国际青年日", "国际青年日"), (monthDay(8, 12), "国际青年节", "国际青年节"), (monthDay(8, 15), "日本投降日", "日本投降日"), - (monthDay(8, 8), "台湾父亲节", "台湾父亲节|父亲节"), + (monthDay(8, 8), "台湾父亲节", "台湾父亲节"), (monthDay(8, 8), "全民健身日", "全民健身日"), (monthDay(9, 1), "中小学开学日", "中小学开学日"), (monthDay(9, 10), "教师节", "中国教师节|教师节"),