Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

Closed
wants to merge 1 commit into from

2 participants

Guttorm Flatabø Claude Paroz
Guttorm Flatabø

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.

Guttorm Flatabø 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
Claude Paroz
Owner

Committed, thanks!

Claude Paroz claudep closed this August 03, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jun 28, 2012
Guttorm Flatabø 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
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 7 additions and 7 deletions. Show diff stats Hide diff stats

  1. 14  django/conf/locale/gl/formats.py
14  django/conf/locale/gl/formats.py
@@ -4,14 +4,14 @@
4 4
 
5 5
 # The *_FORMAT strings use the Django date format syntax,
6 6
 # see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
7  
-DATE_FORMAT = 'd F Y'
  7
+DATE_FORMAT = 'j \d\e F \d\e Y'
8 8
 TIME_FORMAT = 'H:i:s'
9  
-# DATETIME_FORMAT = 
10  
-YEAR_MONTH_FORMAT = 'F Y'
11  
-MONTH_DAY_FORMAT = 'j F'
12  
-SHORT_DATE_FORMAT = 'j M, Y'
13  
-# SHORT_DATETIME_FORMAT = 
14  
-# FIRST_DAY_OF_WEEK = 
  9
+DATETIME_FORMAT = 'j \d\e F \d\e Y \á\s H:i'
  10
+YEAR_MONTH_FORMAT = 'F \d\e Y'
  11
+MONTH_DAY_FORMAT = 'j \d\e F'
  12
+SHORT_DATE_FORMAT = 'd-m-Y'
  13
+SHORT_DATETIME_FORMAT = 'd-m-Y, H:i'
  14
+FIRST_DAY_OF_WEEK = 1 # Monday
15 15
 
16 16
 # The *_INPUT_FORMATS strings use the Python strftime format syntax,
17 17
 # see http://docs.python.org/library/datetime.html#strftime-strptime-behavior
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.