Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Erroneous sorting codes in French territories

Aperta
#217 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Ambito
localization

Direzione di ricerca

Cerca nei dati dei formati degli indirizzi i record per PM, YT, MC, WF, NC, MF, GP, GF, MQ, BL e RE. Verifica che ogni stringa di formato contenga il codice %X segnalato, rimuovi tali codici ed esegui la validazione o i test pertinenti del repository, se disponibili, per verificare i formati interessati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The formats for PM YT MC WF NC MF GP GF MQ BL RE all erroneously include a %X sorting code.

They are all part of France, or for Monaco, a statelet whose post office is run by France. Both the French La Poste web site and the UPU confirm that they use standard French addresses with the five digit postal code before the city, no sorting code. For example, for PM https://www.upu.int/UPU/media/upu/PostalEntitiesFiles/addressingUnit/spmEn.pdf

It may have been confusing that for each territory the first three digits of its French code are fixed and only the last two vary within the territory, which might have been misinterpreted as a sorting code.

The fix is simple, remove all of the %X codes in each territory's format string.

Lingua principale
C++
Stelle
629
Fork
109
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di google/libaddressinput

Tutte le issue di google/libaddressinput

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.