Skip to content

Loading…

New Galician date and time formats according to request at http://transla... #179

Closed
wants to merge 1 commit into from

2 participants

@dittaeva

Added some new date and time formats and updated those already there as per request on Translatewiki.

I have no knowledge of Galician, but request is made by translator and changes similar to those of related Spanish formats.py. All formats tested individually on 1.4.

@dittaeva dittaeva New Galician date and time formats according to request at ttp://tran…
…slatewiki.net/wiki/Thread:User_talk:Toliño/Thank_you_for_your_translation_of_Waymarked_Trails_to_Galician!/reply

I have no knowledge of Galician, but request is made by translator and changes similar to those of related Spanish formats.py
All formats tested individually on 1.4.
e4c51ad
@claudep
Django member

Committed, thanks!

@claudep claudep closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 28, 2012
  1. @dittaeva

    New Galician date and time formats according to request at ttp://tran…

    dittaeva committed
    …slatewiki.net/wiki/Thread:User_talk:Toliño/Thank_you_for_your_translation_of_Waymarked_Trails_to_Galician!/reply
    
    I have no knowledge of Galician, but request is made by translator and changes similar to those of related Spanish formats.py
    All formats tested individually on 1.4.
Showing with 7 additions and 7 deletions.
  1. +7 −7 django/conf/locale/gl/formats.py
View
14 django/conf/locale/gl/formats.py
@@ -4,14 +4,14 @@
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
-DATE_FORMAT = 'd F Y'
+DATE_FORMAT = 'j \d\e F \d\e Y'
TIME_FORMAT = 'H:i:s'
-# DATETIME_FORMAT =
-YEAR_MONTH_FORMAT = 'F Y'
-MONTH_DAY_FORMAT = 'j F'
-SHORT_DATE_FORMAT = 'j M, Y'
-# SHORT_DATETIME_FORMAT =
-# FIRST_DAY_OF_WEEK =
+DATETIME_FORMAT = 'j \d\e F \d\e Y \á\s H:i'
+YEAR_MONTH_FORMAT = 'F \d\e Y'
+MONTH_DAY_FORMAT = 'j \d\e F'
+SHORT_DATE_FORMAT = 'd-m-Y'
+SHORT_DATETIME_FORMAT = 'd-m-Y, H:i'
+FIRST_DAY_OF_WEEK = 1 # Monday
# The *_INPUT_FORMATS strings use the Python strftime format syntax,
# see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
Something went wrong with that request. Please try again.