Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

        def parse_timestamp(timestamp):
    m = re.match(r'^(?P\d{4}/\d{2}/\d{2} '
        r'\d{2}:\d{2}:\d{2}) '
        r'(?P[-+])'
        r'(?P\d{2})(?P\d{2})$',
        timestamp)
    # NOTE: strptime cannot parse timezone
    timestamp = calendar.timegm(time.strptime(m.group('parsable'),
        '%Y/%m/%d %H:%M:%S'))
    delta = (int(m.group('tz_hour')) * 3600 +
            int(m.group('tz_minute')) * 60)
    if m.group('tz_sign') == '-':
        delta = -delta
    timestamp += delta
    return timestamp
        


src/a/n/another-springnote-HEAD/src/convert_mediawiki.py   another-springnote(Download)
        for revision in revisions:
            timestamp = util.parse_timestamp(
                        revision['revision']['date_created'])
            timestamp = datetime.datetime.utcfromtimestamp(timestamp)\
                    .strftime('%Y-%m-%dT%H:%M:%SZ')

src/a/n/another-springnote-HEAD/src/convert_dokuwiki_sabal.py   another-springnote(Download)
                    id_, revision['revision']['identifier']))
                timestamp = util.parse_timestamp(
                        revision['revision']['date_created'])
                data.append('\t'.join([
                    str(int(timestamp)),