Skip to content

Commit

Permalink
Update th.yaml (#345)
Browse files Browse the repository at this point in the history
* Update th.yaml

Added ที่ (thi) for days of week

* Additional tests for Thai added
  • Loading branch information
andjelx authored and asadurski committed Oct 30, 2017
1 parent 130c0e8 commit 1c54cea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions data/languagefiles/th.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,32 @@ skip: ['เวลา', 'น.', 'เมื่อ ']
monday:
- จันทร์
- วันจันทร์
- วันจันทร์ที่
tuesday:
- อังคาร
- วันอังคาร
- วันอังคารที่
wednesday:
- พุธ
- วันพุธ
- วันพุธที่
thursday:
- พฤหัสบดี
- พฤหัส
- วันพฤหัสบดี
- วันพฤหัสบดีที่
friday:
- ศุกร์
- วันศุกร์
- วันศุกร์ที่
saturday:
- เสาร์
- วันเสาร์
- วันเสาร์ที่
sunday:
- อาทิตย์
- วันอาทิตย์
- วันอาทิตย์ที่

january:
- มกราคม
Expand Down
2 changes: 2 additions & 0 deletions tests/test_languages.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ def setUp(self):
# Thai
param('th', "เมื่อ กุมภาพันธ์ 09, 2015, 09:27:57 AM", "february 09 2015 09:27:57 am"),
param('th', "เมื่อ กรกฎาคม 05, 2012, 01:18:06 AM", "july 05 2012 01:18:06 am"),
param('th', "วันเสาร์ที่ 16 ธันวาคม 2560 7:00 pm", "saturday 16 december 2560 7:00 pm"),
param('th', "วันอาทิตย์ที่ 17 ธันวาคม 2560 6:00 pm", "sunday 17 december 2560 6:00 pm"),
# Tagalog
param('tl', "Biyernes Hulyo 3, 2015", "friday july 3 2015"),
Expand Down

0 comments on commit 1c54cea

Please sign in to comment.