PageRenderTime 30ms CodeModel.GetById 27ms RepoModel.GetById 0ms app.codeStats 0ms

/django/conf/locale/es_AR/formats.py

https://code.google.com/p/mango-py/
Python | 34 lines | 25 code | 2 blank | 7 comment | 0 complexity | af1dc3c93fdb4c23acc6a1ede7466b1b 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 N Y'
  7. TIME_FORMAT = r'H:i:s'
  8. DATETIME_FORMAT = r'j N Y H:i:s'
  9. YEAR_MONTH_FORMAT = r'F Y'
  10. MONTH_DAY_FORMAT = r'j \de F'
  11. SHORT_DATE_FORMAT = r'd/m/Y'
  12. SHORT_DATETIME_FORMAT = r'd/m/Y H:i'
  13. FIRST_DAY_OF_WEEK = 0 # 0: Sunday, 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. '%d/%m/%Y', # '31/12/2009'
  18. '%d/%m/%y', # '31/12/09'
  19. )
  20. TIME_INPUT_FORMATS = (
  21. '%H:%M:%S', # '14:30:59'
  22. '%H:%M', # '14:30'
  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