]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Better wording for past. 543/head
authorKridsada Thanabulpong <sirn@ogsite.net>
Sun, 9 Dec 2012 23:23:34 +0000 (06:23 +0700)
committerKridsada Thanabulpong <sirn@ogsite.net>
Sun, 9 Dec 2012 23:23:34 +0000 (06:23 +0700)
lang/th.js
test/lang/th.js

index 98b21311454ed4aa69adc3903efaf5651560066b..517aeff2ab2c244368a9cd9ee0ab96047771af2c 100644 (file)
@@ -32,7 +32,7 @@
             },
             relativeTime : {
                 future : "อีก %s",
-                past : "%sà¸\97ีà¹\88à¸\9cà¹\88าà¸\99มา",
+                past : "%sà¸\97ีà¹\88à¹\81ลà¹\89ว",
                 s : "ไม่กี่วินาที",
                 m : "1 นาที",
                 mm : "%d นาที",
index a59bf5e27b84422e48d0c162a7ce9ce6982142e0..2a856e009e92a266c91eb95b0c0e7d1e97502e3c 100644 (file)
@@ -131,13 +131,13 @@ exports["lang:th"] = {
     "suffix" : function(test) {
         test.expect(2);
         test.equal(moment(30000).from(0), "อีก ไม่กี่วินาที",  "prefix");
-        test.equal(moment(0).from(30000), "à¹\84มà¹\88à¸\81ีà¹\88วิà¸\99าà¸\97ีà¸\97ีà¹\88à¸\9cà¹\88าà¸\99มา", "suffix");
+        test.equal(moment(0).from(30000), "à¹\84มà¹\88à¸\81ีà¹\88วิà¸\99าà¸\97ีà¸\97ีà¹\88à¹\81ลà¹\89ว", "suffix");
         test.done();
     },
 
     "now from now" : function(test) {
         test.expect(1);
-        test.equal(moment().fromNow(), "à¹\84มà¹\88à¸\81ีà¹\88วิà¸\99าà¸\97ีà¸\97ีà¹\88à¸\9cà¹\88าà¸\99มา",  "now from now should display as in the past");
+        test.equal(moment().fromNow(), "à¹\84มà¹\88à¸\81ีà¹\88วิà¸\99าà¸\97ีà¸\97ีà¹\88à¹\81ลà¹\89ว",  "now from now should display as in the past");
         test.done();
     },