Re: [Django] #13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly

2010-07-26 Thread Django
#13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly
---+
  Reporter:  bufke | Owner:  zerok
Status:  new   | Milestone:   
 Component:  Forms |   Version:  1.2  
Resolution:|  Keywords:   
 Stage:  Accepted  | Has_patch:  1
Needs_docs:  0 |   Needs_tests:  0
Needs_better_patch:  0 |  
---+
Comment (by zerok):

 Another update to the patch. The previous version was a bit too aggressive
 and more or less disabled localize=False in order to get the format to
 work in the admin. I'v now moved that behaviour into the admin's form
 field generator to make fields by default localize=True if USE_L10N=True
 and no previous setting was specified for that flag.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly

2010-07-24 Thread Django
#13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly
---+
  Reporter:  bufke | Owner:  zerok
Status:  new   | Milestone:   
 Component:  Forms |   Version:  1.2  
Resolution:|  Keywords:   
 Stage:  Accepted  | Has_patch:  1
Needs_docs:  0 |   Needs_tests:  0
Needs_better_patch:  0 |  
---+
Comment (by zerok):

 I've attached an updated version of the patch. The original one had a
 problem when you were using multiple languages on your site or switching
 between them.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly

2010-05-31 Thread Django
#13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly
---+
  Reporter:  bufke | Owner:  zerok
Status:  new   | Milestone:   
 Component:  Forms |   Version:  1.2  
Resolution:|  Keywords:   
 Stage:  Accepted  | Has_patch:  1
Needs_docs:  0 |   Needs_tests:  0
Needs_better_patch:  0 |  
---+
Comment (by vasiliyeah):

 I have a formats.py file defined for Macedonian locale in one of my
 projects, looks like this:

 DATE_FORMAT = 'd.m.Y'
 DATETIME_FORMAT = 'd.m.Y H:i'

 It all worked fine with 1.2. After upgrading to 1.2.1 the AdminDateWidget
 displayed dates in the '%Y-%m-%d %H:%M:%S' format, so resaving a model
 failed to validate.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly

2010-05-28 Thread Django
#13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly
---+
  Reporter:  bufke | Owner:  zerok
Status:  new   | Milestone:   
 Component:  Forms |   Version:  1.2  
Resolution:|  Keywords:   
 Stage:  Accepted  | Has_patch:  1
Needs_docs:  0 |   Needs_tests:  0
Needs_better_patch:  0 |  
---+
Comment (by zerok):

 Updated the patch to include even more unittests ;-)

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly

2010-05-28 Thread Django
#13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly
---+
  Reporter:  bufke | Owner:  zerok
Status:  new   | Milestone:   
 Component:  Forms |   Version:  1.2  
Resolution:|  Keywords:   
 Stage:  Accepted  | Has_patch:  1
Needs_docs:  0 |   Needs_tests:  0
Needs_better_patch:  0 |  
---+
Comment (by zerok):

 Replying to [comment:5 yserrano]:
 > The changeset [13296] seems to create this problem. With django
 tr...@13295 I don't have the date input problem.

 Yes, the problem here was, that the logic within _format_value of each
 date/time related field was probably accidentally changed without handing
 the permitted input/output format down to the widget. My patch should
 address that for DateInput, DateTimeInput, TimeInput and the
 SplitDateTimeInput widget.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly

2010-05-28 Thread Django
#13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly
---+
  Reporter:  bufke | Owner:  zerok
Status:  new   | Milestone:   
 Component:  Forms |   Version:  1.2  
Resolution:|  Keywords:   
 Stage:  Accepted  | Has_patch:  1
Needs_docs:  0 |   Needs_tests:  0
Needs_better_patch:  0 |  
---+
Comment (by yserrano):

 The changeset [13296] seems to create this problem. With django
 tr...@13295 I don't have the date input problem.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly

2010-05-28 Thread Django
#13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly
---+
  Reporter:  bufke | Owner:  zerok
Status:  new   | Milestone:   
 Component:  Forms |   Version:  1.2  
Resolution:|  Keywords:   
 Stage:  Accepted  | Has_patch:  1
Needs_docs:  0 |   Needs_tests:  0
Needs_better_patch:  0 |  
---+
Changes (by zerok):

  * has_patch:  0 => 1
  * needs_tests:  1 => 0

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly

2010-05-28 Thread Django
#13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly
---+
  Reporter:  bufke | Owner:  zerok
Status:  new   | Milestone:   
 Component:  Forms |   Version:  1.2  
Resolution:|  Keywords:   
 Stage:  Accepted  | Has_patch:  0
Needs_docs:  0 |   Needs_tests:  1
Needs_better_patch:  0 |  
---+
Comment (by y...@taywa.ch):

 I have the same problem with dates in the django admin, DATE_INPUT_FORMATS
 = ('%d.%m.%Y', ) doesn't works anymore it displays a Y-m-d date. It worked
 in django 1.2 but not in django 1.2.1

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly

2010-05-27 Thread Django
#13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly
---+
  Reporter:  bufke | Owner:  zerok
Status:  new   | Milestone:   
 Component:  Forms |   Version:  1.2  
Resolution:|  Keywords:   
 Stage:  Accepted  | Has_patch:  0
Needs_docs:  0 |   Needs_tests:  1
Needs_better_patch:  0 |  
---+
Changes (by zerok):

  * owner:  nobody => zerok

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly

2010-05-27 Thread Django
#13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly
---+
  Reporter:  bufke | Owner:  nobody
Status:  new   | Milestone:
 Component:  Forms |   Version:  1.2   
Resolution:|  Keywords:
 Stage:  Accepted  | Has_patch:  0 
Needs_docs:  0 |   Needs_tests:  1 
Needs_better_patch:  0 |  
---+
Changes (by zerok):

  * needs_better_patch:  => 0
  * stage:  Unreviewed => Accepted
  * component:  Uncategorized => Forms
  * needs_tests:  => 1
  * needs_docs:  => 0

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



[Django] #13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly

2010-05-26 Thread Django
#13621: regression in 1.2.1 from 1.2 AM PM time input no longer works correctly
---+
 Reporter:  bufke  |   Owner:  nobody
   Status:  new|   Milestone:
Component:  Uncategorized  | Version:  1.2   
 Keywords: |   Stage:  Unreviewed
Has_patch:  0  |  
---+
 In 1.2 I used this in settings.py

 TIME_INPUT_FORMATS = ('%I:%M %p',)

 to accept times like 1:30 PM and it worked fine.  After upgrading to 1.2.1
 Django accepts times like that but it displays them in the 24 hour format,
 thus it prints times in a format it cannot accept. For example in the user
 settings when I edit and save (doing nothing) I get errors because the
 time is displayed in the 24 hour format yet it only accepts 12 hour
 format.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.