public
Description: An addition to django that allows better presentation of date strings in a local way.
Homepage: http://code.google.com/p/django-localdates/
Clone URL: git://github.com/orestis/django-localdates.git
Click here to lend your support to: django-localdates and make a donation at www.pledgie.com !
minor tweak on test template

git-svn-id: https://django-localdates.googlecode.com/svn/trunk@26 
2d4215e5-4f35-0410-b94f-7947a7918f2f
orestis (author)
Tue Mar 25 07:34:43 -0700 2008
commit  6fda99267b9114bb2ffde09377a768b371da7016
tree    d051bee4d292907133011f6ba17f7b3e914438b4
parent  8eaf08a4f7535750e5afbcc7c3666d7b274cf0bd
...
6
7
8
9
 
10
11
 
 
12
13
14
...
37
38
39
40
41
 
...
6
7
8
 
9
10
 
11
12
13
14
15
...
38
39
40
 
41
42
0
@@ -6,9 +6,10 @@ language code:
0
 d F Y:
0
 {{ datenow|date:"d F Y" }}
0
 <hr>
0
-This is not safe to use:<br>
0
+This is not safe to use, because different languages will use different formats:<br>
0
 d {Fp} Y:
0
-{{ datenow|ldate:"d {Fp} Y" }}
0
+{{ datenow|ldate:"d {Fp} Y" }}<br>
0
+<hr>
0
 Use these instead:<br>
0
 <br>
0
 {FULL_DATE}
0
@@ -37,4 +38,4 @@ Example of translated date format: <br>
0
 
0
 <hr>
0
 
0
-{% now "d F Y" %}
0
\ No newline at end of file
0
+{% now "d F Y" %}

Comments

    No one has commented yet.