Module: Duration::Localizations::Korean

Defined in:
lib/duration/localizations/korean.rb

Overview

Korean localization

Constant Summary collapse

LOCALE =
:korean
PLURALS =
%w(  시간  )
SINGULARS =
%w(  시간  )
FORMAT =
proc do |duration|
	str = duration.format('%w%~w, %d%~d, %h%~h, %m%~m, %s%~s')
	str.sub(/^0[^\d+,]+,?/i, '').gsub(/ 0[^\d+,]+,?/i, '').chomp(',').strip
end