title: Local notification to be fired on next midnight
body: <p>I want to schedule a local notification at 12.01 AM next day.. I am unable to set the time to 12.. Even if I set it to 12, it does not get set to 12 but takes some other time.</p>
  
  <pre><code>NSCalendar *calendar = [[NSCalendar alloc]initWithCalendarIdentifier:NSGregorianCalendar];
  NSDateComponents *components = [calendar components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit | NSHourCalendarUnit | NSMinuteCalendarUnit) fromDate:[NSDate date]]; 
  NSLog(@"components %@",components); 
  [components setHour:00]; 
  [components setMinute:01]; 
  [components setSecond:00]; 
  </code></pre>
  
  <p>I use this snippet..
  I set notification.fireDate as </p>
  
  <blockquote>
    <p>[calendar dateFromComponents:components]; </p>
  </blockquote>
  
  <p>But when i log the date, it displays yesterday's date with 3.42 as time </p>