title: NSDateFormatter, am I doing something wrong or is this a bug?
body: <p>I'm trying to print out the date in a certain format:</p>
  
  <pre><code>NSDate *today = [[NSDate alloc] init];
  NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
  [dateFormatter setDateFormat:@"yyyyMMddHHmmss"];
  NSString *dateStr = [dateFormatter stringFromDate:today];
  </code></pre>
  
  <p>If the iPhone is set to 24 hour time, this works fine, if on the other hand the user has set it to 24 hour time, then back to AM/PM (it works fine until you toggle this setting) then it appends the AM/PM on the end even though I didn't ask for it:</p>
  
  <pre><code>20080927030337 PM
  </code></pre>
  
  <p>Am I doing something wrong or is this a bug with firmware 2.1?</p>
  
  <p>Edit 1: Made description clearer</p>
  
  <p>Edit 2 workaround: It turns out this is a bug, to fix it I set the AM and PM characters to "":</p>
  
  <pre><code>[dateFormatter setAMSymbol:@""];
  [dateFormatter setPMSymbol:@""];
  </code></pre>