Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Update unit test to use GMT +5:30 timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
Vikas Dadheech committed Feb 26, 2019
1 parent ed85fd0 commit 62c1da2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ - (void)setUp {
self.dateComponents.hour = 16;
self.dateComponents.minute = 39;
self.dateComponents.second = 57;
self.dateComponents.timeZone = [NSTimeZone systemTimeZone];
self.dateComponents.timeZone = [NSTimeZone timeZoneForSecondsFromGMT:((5*60)+30)*60];
self.dateComponents.calendar = [NSCalendar currentCalendar];
}

Expand Down

0 comments on commit 62c1da2

Please sign in to comment.