#import <Foundation/Foundation.h>

int
main (void)
{
  CREATE_AUTORELEASE_POOL (pool);
  NSCalendarDate *date = [NSCalendarDate calendarDate];
  NSString *format =
    [[NSUserDefaults standardUserDefaults] objectForKey: NSTimeFormatString];

  GSPrintf (stdout, @"%@\n", format);
  GSPrintf (stdout, @"%@\n", [date descriptionWithCalendarFormat: format]);

  RELEASE (pool);
  exit (EXIT_SUCCESS);
}
