NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
NSLocale *zh_CNLocale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US_POSIX"];
dateFormatter.locale= zh_CNLocale;
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
NSLocale *zh_CNLocale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US_POSIX"];
dateFormatter.locale= zh_CNLocale;
本文标题:iOS时间字符串固定位24小时制
本文链接:https://www.haomeiwen.com/subject/zwvmsdtx.html
网友评论