ios/build/bots/scripts/variations_runner.py
def _reset_last_fetch_time(self):
    """Resets last fetch time to one day before so the next fetch can happen.

    On mobile devices the fetch will only happen 30 min after last fetch by
    checking |variations_last_fetch_time| key in Local State.
    """
    # Last fetch time in local state uses win timestamp in microseconds.
    win_delta = datetime.utcnow() - datetime(1601, 1, 1)
    win_now = int(win_delta.total_seconds())
    win_one_day_before = win_now - 60 * 60 * 24
    win_one_day_before_microseconds = win_one_day_before * 1000000

    seed_helper.update_local_state(
        self._user_data_dir(), {
            _LOCAL_STATE_VARIATIONS_LAST_FETCH_TIME_KEY:
                str(win_one_day_before_microseconds)
        })
    LOGGER.info('Reset last fetch time to %s in Local State.' %
                win_one_day_before_microseconds)
Resets last fetch time to one day before so the next fetch can happen.

    On mobile devices the fetch will only happen 30 min after last fetch by
    checking |variations_last_fetch_time| key in Local State.
    
Resets last fetch time to one day before so the next fetch can happen.
On mobile devices the fetch will only happen 30 min after last fetch by
checking |variations_last_fetch_time| key in Local State.
Resets last fetch time to one day before so the next fetch can happen . On mobile devices the fetch will only happen 30 min after last fetch by checking |variations_last_fetch_time| key in Local State .
def _reset_last_fetch_time(self):
    win_delta = datetime.utcnow() - datetime(1601, 1, 1)
    win_now = int(win_delta.total_seconds())
    win_one_day_before = win_now - 60 * 60 * 24
    win_one_day_before_microseconds = win_one_day_before * 1000000
    seed_helper.update_local_state(
        self._user_data_dir(), {
            _LOCAL_STATE_VARIATIONS_LAST_FETCH_TIME_KEY:
                str(win_one_day_before_microseconds)
        })
    LOGGER.info('Reset last fetch time to %s in Local State.' %
                win_one_day_before_microseconds)
def _reset_last_fetch_time ( self ) : win_delta = datetime . utcnow ( ) - datetime ( 1601 , 1 , 1 ) win_now = int ( win_delta . total_seconds ( ) ) win_one_day_before = win_now - 60 * 60 * 24 win_one_day_before_microseconds = win_one_day_before * 1000000 seed_helper . update_local_state ( self . _user_data_dir ( ) , { _LOCAL_STATE_VARIATIONS_LAST_FETCH_TIME_KEY : str ( win_one_day_before_microseconds ) } ) LOGGER . info ( 'Reset last fetch time to %s in Local State.' % win_one_day_before_microseconds )
Resets last fetch time to one day before so the next fetch can happen.
Resets last fetch time to one day before so the next fetch can happen .
"""Resets last fetch time to one day before so the next fetch can happen.

    On mobile devices the fetch will only happen 30 min after last fetch by
    checking |variations_last_fetch_time| key in Local State.
    """ # Last fetch time in local state uses win timestamp in microseconds.
self