Projects : yrc : yrc_completion

yrc/yrc2local

Dir - Raw

1#!/usr/bin/python2
2import time
3from sys import stdin, stdout
4
5try:
6 for line in stdin:
7 t, rest = line.split(' ', 1)
8 t = int(t)/100
9 stdout.write(time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(t)) + ' ' + rest)
10except IOError:
11 pass