#3946: Add Swiss localflavor
----------------------------------------+-----------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  adrian                
    
     Status:  new                       |            Component:  
django.contrib.localflavor
    Version:  SVN                       |           Resolution:                 
           
   Keywords:  localflavor, l10n, ch     |                Stage:  Accepted       
           
  Has_patch:  1                         |           Needs_docs:  0              
           
Needs_tests:  1                         |   Needs_better_patch:  1              
           
----------------------------------------+-----------------------------------
Comment (by [EMAIL PROTECTED]):

 I changed the suggestions of mtredinnick and added some tests.
 
 To Philipp Keller: Django is the best Framework I've ever seen. easy, fast
 and funny. To your sugguestion. Therefore I remove some non numeric
 characters  (line 32) and parse the value with phone_digits (line 12),
 which I think must start with a 0, then a non 0, followed by 8 numbers.
 
 This way the parser accepts also a number as 012/34-567.89 and cleans it
 to 012 345 67 89.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3946#comment:5>
Django Code <http://code.djangoproject.com/>
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to