summaryrefslogtreecommitdiff
path: root/django/conf/locale/ko/formats.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/conf/locale/ko/formats.py')
-rw-r--r--django/conf/locale/ko/formats.py44
1 files changed, 35 insertions, 9 deletions
diff --git a/django/conf/locale/ko/formats.py b/django/conf/locale/ko/formats.py
index 51986c7910..619047dae0 100644
--- a/django/conf/locale/ko/formats.py
+++ b/django/conf/locale/ko/formats.py
@@ -4,15 +4,41 @@
DATE_FORMAT = 'Y년 n월 j일'
TIME_FORMAT = 'A g:i:s'
-DATETIME_FORMAT = 'Y년 n월 j일A g:i:s'
-YEAR_MONTH_FORMAT = 'Y년 F'
-MONTH_DAY_FORMAT = 'F j일'
-SHORT_DATE_FORMAT = 'Y. n. j.'
-SHORT_DATETIME_FORMAT = 'Y. n. j. A g:i:s'
+DATETIME_FORMAT = 'Y년 n월 j일 g:i:s A'
+YEAR_MONTH_FORMAT = 'Y년 F월'
+MONTH_DAY_FORMAT = 'F월 j일'
+SHORT_DATE_FORMAT = 'Y-n-j.'
+SHORT_DATETIME_FORMAT = 'Y-n-j H:i'
# FIRST_DAY_OF_WEEK =
-# DATE_INPUT_FORMATS =
-# TIME_INPUT_FORMATS =
-# DATETIME_INPUT_FORMATS =
+DATE_INPUT_FORMATS = (
+ '%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', # '2006-10-25', '10/25/2006', '10/25/06'
+ '%b %d %Y', '%b %d, %Y', # 'Oct 25 2006', 'Oct 25, 2006'
+ '%d %b %Y', '%d %b, %Y', # '25 Oct 2006', '25 Oct, 2006'
+ '%B %d %Y', '%B %d, %Y', # 'October 25 2006', 'October 25, 2006'
+ '%d %B %Y', '%d %B, %Y', # '25 October 2006', '25 October, 2006'
+ '%Y년 %m월 %d일', # '2006년 10월 25일', with localized suffix.
+)
+TIME_INPUT_FORMATS = (
+ '%H:%M:%S', # '14:30:59'
+ '%H:%M', # '14:30'
+ '%H시 %M분 %S초', # '14시 30분 59초'
+ '%H시 %M분', # '14시 30분'
+)
+DATETIME_INPUT_FORMATS = (
+ '%Y-%m-%d %H:%M:%S', # '2006-10-25 14:30:59'
+ '%Y-%m-%d %H:%M', # '2006-10-25 14:30'
+ '%Y-%m-%d', # '2006-10-25'
+ '%m/%d/%Y %H:%M:%S', # '10/25/2006 14:30:59'
+ '%m/%d/%Y %H:%M', # '10/25/2006 14:30'
+ '%m/%d/%Y', # '10/25/2006'
+ '%m/%d/%y %H:%M:%S', # '10/25/06 14:30:59'
+ '%m/%d/%y %H:%M', # '10/25/06 14:30'
+ '%m/%d/%y', # '10/25/06'
+
+ '%Y년 %m월 %d일 %H시 %M분 %S초', # '2006년 10월 25일 14시 30분 59초'
+ '%Y년 %m월 %d일 %H시 %M분', # '2006년 10월 25일 14시 30분'
+)
+
DECIMAL_SEPARATOR = '.'
THOUSAND_SEPARATOR = ','
-# NUMBER_GROUPING =
+NUMBER_GROUPING = 3