title: Formating a german date cause unconverted data remains:am
body: <p>I have a string <code>"Mai 2, 2018 6:35:52 AM"</code>.</p>
  
  <p>I set the local to german (only one i can get to work is deu_deu)
  when trying to then format I get the data remains error.</p>
  
  <pre><code>import pandas as pd
  import locale
  locale.setlocale(locale.LC_ALL, 'deu_deu')
  
  input_file_path = 'C:\\Users\\xxx'
  
  customer_file_path = pd.read_csv(input_file_path,sep='\t', warn_bad_lines=True, error_bad_lines=False)
  customer_file_path['RECEIVED_DATE'] = customer_file_path['RECEIVED_DATE'].str.replace(',', '')
  customer_file_path['RECEIVED_DATE'] = customer_file_path['RECEIVED_DATE'].str.replace('AM', 'am')
  customer_file_path['RECEIVED_DATE'] = customer_file_path['RECEIVED_DATE'].str.replace('PM', 'pm')
  customer_file_path['RECEIVED_DATE'] = pd.to_datetime(customer_file_path['RECEIVED_DATE'] ,format='%b %d %Y %I:%M:%S %p')
  customer_file_path['RECEIVED_DATE'] = pd.to_datetime(customer_file_path['RECEIVED_DATE'] ,format='%b %d %Y %I:%M:%S %p').dt.strftime('%Y-%m-%d %H:%M:%S.%f')
  </code></pre>
  
  <p>Either one fails with the same message:</p>
  
  <pre><code>getlocale returns 
  locale.setlocale(locale.LC_ALL, 'deu_deu')
  Out[167]: 'German_Germany.1252'
  </code></pre>