Re: Regression problem on admin date format

2010-07-26 Thread Horst Gutmann
On Tue, Jul 13, 2010 at 9:48 AM, Jannis Leidel  wrote:
>
> Am 13.07.2010 um 01:35 schrieb Russell Keith-Magee:
>
>>> On Sun, Jul 11, 2010 at 10:36 AM, Antoni Aloy  wrote:
 Hi,

 I have confirmed the bug with other non speaking people and I have
 sent an e-mail to django-i18n group to point out the problem.

 I have also contacted Marc and he has confirmed that the problem exists.

 Sorry for the insistence but in my opinion this is a blocker bug.
>>
>> On Tue, Jul 13, 2010 at 4:01 AM, Horst Gutmann  wrote:
>>> Did the patch that is attached to this issue work for you? It would
>>> really be nice to get some feedback on it :-) From what I've heard in
>>> other posts on this and the django-users list so far it seems to do
>>> the job.
>>
>> Ok - I'll put this on my list of things to look at. I've been fairly
>> busy at work over the last couple of weeks, and what time I've had
>> left has been consumed keeping feature discussions going. Once things
>> settle down, I'll have more time to put into bugs.
>
> FYI, I planned to have a look at it this week, too.
>
> Jannis
>

With the help of Jannis I fixed and simplified the patch at EuroPython
and afterwards. The latest version (available in the ticket and on
https://gist.github.com/ef8bce46d233c81df9d5 ) includes a change to
the admin formfield generator. In my opinion, if USE_L10N=True,
formfields should receive the localize=True flag by default for the
admin. Would this be an acceptable change?

Thank you :-)

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



Re: Regression problem on admin date format

2010-07-13 Thread Jannis Leidel

Am 13.07.2010 um 01:35 schrieb Russell Keith-Magee:

>> On Sun, Jul 11, 2010 at 10:36 AM, Antoni Aloy  wrote:
>>> Hi,
>>> 
>>> I have confirmed the bug with other non speaking people and I have
>>> sent an e-mail to django-i18n group to point out the problem.
>>> 
>>> I have also contacted Marc and he has confirmed that the problem exists.
>>> 
>>> Sorry for the insistence but in my opinion this is a blocker bug.
> 
> On Tue, Jul 13, 2010 at 4:01 AM, Horst Gutmann  wrote:
>> Did the patch that is attached to this issue work for you? It would
>> really be nice to get some feedback on it :-) From what I've heard in
>> other posts on this and the django-users list so far it seems to do
>> the job.
> 
> Ok - I'll put this on my list of things to look at. I've been fairly
> busy at work over the last couple of weeks, and what time I've had
> left has been consumed keeping feature discussions going. Once things
> settle down, I'll have more time to put into bugs.

FYI, I planned to have a look at it this week, too.

Jannis

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



Re: Regression problem on admin date format

2010-07-12 Thread Russell Keith-Magee
> On Sun, Jul 11, 2010 at 10:36 AM, Antoni Aloy  wrote:
>> Hi,
>>
>> I have confirmed the bug with other non speaking people and I have
>> sent an e-mail to django-i18n group to point out the problem.
>>
>> I have also contacted Marc and he has confirmed that the problem exists.
>>
>> Sorry for the insistence but in my opinion this is a blocker bug.

On Tue, Jul 13, 2010 at 4:01 AM, Horst Gutmann  wrote:
> Did the patch that is attached to this issue work for you? It would
> really be nice to get some feedback on it :-) From what I've heard in
> other posts on this and the django-users list so far it seems to do
> the job.

Ok - I'll put this on my list of things to look at. I've been fairly
busy at work over the last couple of weeks, and what time I've had
left has been consumed keeping feature discussions going. Once things
settle down, I'll have more time to put into bugs.

Yours,
Russ Magee %-)

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



Re: Regression problem on admin date format

2010-07-12 Thread Horst Gutmann
Did the patch that is attached to this issue work for you? It would
really be nice to get some feedback on it :-) From what I've heard in
other posts on this and the django-users list so far it seems to do
the job.

-- Horst

P.S.: Sorry if this mail reaches you a second time. Somehow Google
Groups and GMail acting up again for me :-(

On Sun, Jul 11, 2010 at 10:36 AM, Antoni Aloy  wrote:
> Hi,
>
> I have confirmed the bug with other non speaking people and I have
> sent an e-mail to django-i18n group to point out the problem.
>
> I have also contacted Marc and he has confirmed that the problem exists.
>
> Sorry for the insistence but in my opinion this is a blocker bug.
>
> Best regards,
>
> --
> Antoni Aloy López
> Blog: http://trespams.com
> Site: http://apsl.net
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django developers" group.
> To post to this group, send email to django-develop...@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-developers+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-developers?hl=en.
>
>

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



Re: Regression problem on admin date format

2010-07-11 Thread Antoni Aloy
Hi,

I have confirmed the bug with other non speaking people and I have
sent an e-mail to django-i18n group to point out the problem.

I have also contacted Marc and he has confirmed that the problem exists.

Sorry for the insistence but in my opinion this is a blocker bug.

Best regards,

-- 
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net

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



Re: Regression problem on admin date format

2010-07-10 Thread Antoni Aloy
2010/7/10 Russell Keith-Magee :
> On Sat, Jul 10, 2010 at 1:15 AM, Antoni Aloy  wrote:

> Are you sure that this is a regression, rather than a bugfix with
> unfortunate side effects? In particular, I draw your attention to the
> second note under:
>
> http://docs.djangoproject.com/en/1.2/topics/i18n/localization/#id3
>

Well I don't know how to call it, but I just see the effects. I'm not
talking about a custom form, it's about the admin form, and I'm just
using USE_L18N=True, so I understand that admin should work  in the
same way 1.2 was.

Actually you have the right display format when intering a date with
the calendar or the "today" link, but the wrong (default one) the
first time the date is displayed.

And if you modify a non date field the form will complain about the
wrong date format.

Best regards,

-- 
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net

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



Re: Regression problem on admin date format

2010-07-10 Thread Russell Keith-Magee
On Sat, Jul 10, 2010 at 1:15 AM, Antoni Aloy  wrote:
> Hello,
>
> Have anybody (Marc Garcia ?) check
> http://code.djangoproject.com/ticket/13621 ticket. It explains a bug
> concerning date and time formats. The admin does not conform the i18n
> locale settings on displaying time and date formats and reverts to the
> default format.
>
> It seems a true regression test as
> http://djangoadvent.com/1.2/i18n-l10n-improvements/ explains the right
> display. I have reverted to Django 1.2.0 and the display works
> perfectly.
>
> As you can imagine is a quite annoying bug for non-english date format
> users, perhaps enough to make a 1.2.2 release.

Are you sure that this is a regression, rather than a bugfix with
unfortunate side effects? In particular, I draw your attention to the
second note under:

http://docs.djangoproject.com/en/1.2/topics/i18n/localization/#id3

The reason for this change is that Python's date parsing libraries
aren't thread safe, so parsing internationalized date/time components
like AM/PM are problematic.

Yours,
Russ Magee %-)

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



Regression problem on admin date format

2010-07-09 Thread Antoni Aloy
Hello,

Have anybody (Marc Garcia ?) check
http://code.djangoproject.com/ticket/13621 ticket. It explains a bug
concerning date and time formats. The admin does not conform the i18n
locale settings on displaying time and date formats and reverts to the
default format.

It seems a true regression test as
http://djangoadvent.com/1.2/i18n-l10n-improvements/ explains the right
display. I have reverted to Django 1.2.0 and the display works
perfectly.

As you can imagine is a quite annoying bug for non-english date format
users, perhaps enough to make a 1.2.2 release.

-- 
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net

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