- Fix Installation Date
This commit is contained in:
1 parent
d6bc683799
commit
d45c68f35b
11 files changed
+253
-24
No files matched your search
+17
-1
@@ -194,7 +194,10 @@ static NSDateFormatter *_displayFormatter = nil;
|
||||
kNSDateHelperFormatSQLDateWithTimeEN_shashSeparated,kNSDateHelperFormatSQLDateWithTimeZone,
|
||||
kNSDateHelperFormatSQLDateWithTimeZone_shashSeparated,kNSDateHelperFormatSQLDateWithTimeZoneEN,
|
||||
kNSDateHelperFormatSQLDateWithTimeZoneEN_shashSeparated,kNSDateHelperFormatSQLDateWithTimeZoneIT,
|
||||
kNSDateHelperFormatSQLDateWithTimeZoneIT_shashSeparated, nil];
|
||||
kNSDateHelperFormatSQLDateWithTimeZoneIT_shashSeparated,kNSDateHelperFormatSQLDateWithTimeZone_T_Separator,
|
||||
kNSDateHelperFormatSQLDateWithTimeZone_T_Separator_shashSeparated,kNSDateHelperFormatSQLDateWithTimeZoneEN_T_Separator,
|
||||
kNSDateHelperFormatSQLDateWithTimeZoneENAndTSeparator_shashSeparated, kNSDateHelperFormatSQLDateWithTimeZoneIT_T_Separator,
|
||||
kNSDateHelperFormatSQLDateWithTimeZoneIT_T_Separator_shashSeparated, nil];
|
||||
|
||||
|
||||
for (NSString *dateFormat in dateFormatsArray) {
|
||||
@@ -516,6 +519,19 @@ static NSDateFormatter *_displayFormatter = nil;
|
||||
}
|
||||
|
||||
|
||||
+ (NSTimeInterval) timeIntervalFromMinutes:(NSUInteger) minutes {
|
||||
|
||||
NSTimeInterval seconds = minutes /60;
|
||||
|
||||
return seconds;
|
||||
}
|
||||
|
||||
|
||||
+ (NSTimeInterval) timeIntervalFromHours:(NSUInteger) hours {
|
||||
|
||||
}
|
||||
|
||||
|
||||
- (NSDate *) dateAtStartOfDay
|
||||
{
|
||||
NSDateComponents *components = [CURRENT_CALENDAR components:DATE_COMPONENTS fromDate:self];
|
||||
|
||||
Reference in new issue
Block a user