From d79e70a0e76642742ae3b95ac4ba1a022185843c Mon Sep 17 00:00:00 2001 From: Jeeeyul Date: Thu, 19 Dec 2013 14:55:56 +0900 Subject: [PATCH] Add Merdiem Parse support for Korean Languages. --- lang/ko.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lang/ko.js b/lang/ko.js index 69a6e3812..1f87c55fb 100644 --- a/lang/ko.js +++ b/lang/ko.js @@ -1,7 +1,10 @@ // moment.js language configuration // language : korean (ko) -// author : Kyungwook, Park : https://github.com/kyungw00k - +// +// authors +// +// - Kyungwook, Park : https://github.com/kyungw00k +// - Jeeeyul Lee (function (factory) { if (typeof define === 'function' && define.amd) { define(['moment'], factory); // AMD @@ -51,6 +54,10 @@ y : "일년", yy : "%d년" }, - ordinal : '%d일' + ordinal : '%d일', + meridiemParse : /(오전|오후)/i, + isPM : function(token){ + return token == "오후"; + } }); })); -- 2.47.2