diff --git a/src/MessagesVC.mm b/src/MessagesVC.mm index b9050ea401297682c44942e9a983e6c3ffe6751f..3a583f158bd58ff798932591844dd3ab067041c8 100644 --- a/src/MessagesVC.mm +++ b/src/MessagesVC.mm @@ -668,6 +668,7 @@ typedef NS_ENUM(NSInteger, MessageSequencing) { -(NSString *)timeForMessage:(NSDate*) msgTime { NSDate *today = [NSDate date]; NSDateFormatter *dateFormatter=[[NSDateFormatter alloc] init]; + [dateFormatter setLocale:[[NSLocale alloc] initWithLocaleIdentifier:[[NSLocale currentLocale] localeIdentifier]]]; if ([[NSCalendar currentCalendar] compareDate:today toDate:msgTime toUnitGranularity:NSCalendarUnitYear]!= NSOrderedSame) {