Skip to content

Commit

Permalink
Update dates
Browse files Browse the repository at this point in the history
  • Loading branch information
Grey Olson committed Sep 25, 2024
1 parent f196e60 commit 817f513
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ public final class WMFAltTextDataController {
public lazy var experimentStopDate: Date? = {
var dateComponents = DateComponents()
dateComponents.year = 2024
dateComponents.month = 10
dateComponents.day = 21
dateComponents.month = 11
dateComponents.day = 5
return Calendar.current.date(from: dateComponents)
}()

Expand Down
4 changes: 2 additions & 2 deletions Wikipedia/Code/ExploreFeedSettingsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ class ExploreFeedSettingsViewController: BaseExploreFeedSettingsViewController {
func shouldAltTextExperimentBeActive() -> Bool {
var dateComponents = DateComponents()
dateComponents.year = 2024
dateComponents.month = 10
dateComponents.day = 21
dateComponents.month = 11
dateComponents.day = 5

let calendar = Calendar(identifier: .gregorian)
guard let experimentDate = calendar.date(from: dateComponents) else {
Expand Down
4 changes: 2 additions & 2 deletions Wikipedia/Code/WMFSuggestedEditsContentSource.m
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ - (BOOL)isDeviceIPhone {
- (BOOL)shouldAltTextExperimentBeActive {
NSDateComponents *dateComponents = [[NSDateComponents alloc] init];
[dateComponents setYear:2024];
[dateComponents setMonth:10];
[dateComponents setDay:21];
[dateComponents setMonth:11];
[dateComponents setDay:5];

NSCalendar *calendar = [[NSCalendar alloc] initWithCalendarIdentifier:NSCalendarIdentifierGregorian];
NSDate *experimentDate = [calendar dateFromComponents:dateComponents];
Expand Down

0 comments on commit 817f513

Please sign in to comment.