PageRenderTime 25ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/django/conf/locale/es/formats.py

https://code.google.com/p/mango-py/
Python | 35 lines | 23 code | 3 blank | 9 comment | 0 complexity | 14b983a9dd07aaac3ccfe4d06ec23fac MD5 | raw file
Possible License(s): BSD-3-Clause
  1. # -*- encoding: utf-8 -*-
  2. # This file is distributed under the same license as the Django package.
  3. #
  4. # The *_FORMAT strings use the Django date format syntax,
  5. # see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
  6. DATE_FORMAT = r'j \de F \de Y'
  7. TIME_FORMAT = 'H:i:s'
  8. DATETIME_FORMAT = r'j \de F \de Y \a \l\a\s H:i'
  9. YEAR_MONTH_FORMAT = r'F \de Y'
  10. MONTH_DAY_FORMAT = r'j \de F'
  11. SHORT_DATE_FORMAT = 'd/m/Y'
  12. SHORT_DATETIME_FORMAT = 'd/m/Y H:i'
  13. FIRST_DAY_OF_WEEK = 1 # Monday
  14. # The *_INPUT_FORMATS strings use the Python strftime format syntax,
  15. # see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
  16. DATE_INPUT_FORMATS = (
  17. # '31/12/2009', '31/12/09'
  18. '%d/%m/%Y', '%d/%m/%y'
  19. )
  20. TIME_INPUT_FORMATS = (
  21. # '14:30:59', '14:30'
  22. '%H:%M:%S', '%H:%M'
  23. )
  24. DATETIME_INPUT_FORMATS = (
  25. '%d/%m/%Y %H:%M:%S',
  26. '%d/%m/%Y %H:%M',
  27. '%d/%m/%y %H:%M:%S',
  28. '%d/%m/%y %H:%M',
  29. )
  30. DECIMAL_SEPARATOR = ','
  31. THOUSAND_SEPARATOR = '.'
  32. NUMBER_GROUPING = 3