Skip to content

Commit

Permalink
Respect the user's region settings when displaying the time. #998
Browse files Browse the repository at this point in the history
  • Loading branch information
bskinner committed Jun 4, 2015
1 parent 7f55a91 commit 6fabb49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Modules/Mobius/Model/MITMobiusResourcesTableSection.m
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ - (NSString*)hours
static dispatch_once_t token;
dispatch_once(&token, ^{
dateFormatter = [[NSDateFormatter alloc] init];
dateFormatter.dateFormat = @"HH";
dateFormatter.timeStyle = NSDateFormatterShortStyle;
dateFormatter.dateStyle = NSDateFormatterNoStyle;
});

if (_hours == nil) {
Expand Down

0 comments on commit 6fabb49

Please sign in to comment.