perceval/backends/core/mediawiki.py
def __get_max_date(self, reviews):
        """"Get the max date in unixtime format from reviews."""
        max_ts = 0
        for review in reviews:
            ts = str_to_datetime(review['timestamp'])
            ts = datetime_to_utc(ts)
            if ts.timestamp() > max_ts:
                max_ts = ts.timestamp()
        return max_ts
def __get_max_date(self, reviews):
        "max_ts = 0
        for review in reviews:
            ts = str_to_datetime(review['timestamp'])
            ts = datetime_to_utc(ts)
            if ts.timestamp() > max_ts:
                max_ts = ts.timestamp()
        return max_ts
def __get_max_date ( self , reviews ) : max_ts = 0 for review in reviews : ts = str_to_datetime ( review [ 'timestamp' ] ) ts = datetime_to_utc ( ts ) if ts . timestamp ( ) > max_ts : max_ts = ts . timestamp ( ) return max_ts
Get the max date in unixtime format from reviews.
Get the max date in unixtime format from reviews .