IRC log of #zodb for Monday, 2014-06-30

*** cropleyb has joined #zodb00:14
*** cropleyb has quit IRC00:25
*** cropleyb has joined #zodb03:54
*** cropleyb has quit IRC05:33
*** cropleyb has joined #zodb06:49
*** Knio_ has joined #zodb08:51
*** Knio_ has quit IRC08:58
*** Knio has quit IRC08:59
*** Knio has joined #zodb08:59
*** cropleyb has quit IRC09:19
*** Knio_ has joined #zodb09:34
*** Knio has quit IRC09:35
*** agroszer has joined #zodb09:41
*** cropleyb has joined #zodb11:48
*** cropleyb has quit IRC13:14
*** srichter__ has quit IRC14:58
*** J1m has joined #zodb16:08
*** srichter__ has joined #zodb16:14
*** alert77 has joined #zodb17:30
alert77hi everybody! Is it possible to convert a transaction record tid in a human readable time?17:39
alert77Thanks for the help17:40
aclarkalert77: probably… strftime?17:46
agroszeralert77, https://github.com/mgedmin/zodbbrowser17:47
alert77aclarck: I would like to revert this...18:06
alert77(Pdb) timetest = time.time()18:06
alert77(Pdb) tid_repr(TimeStamp(*time.gmtime(timetest)[:5] + (timetest % 60,)))18:06
alert77'\x03\xa7\xdf\x88\xc3\xc8y3'18:06
alert77I do not know if it is possible with strftime18:06
alert77agroszer: thanks for the suggestion18:07
agroszernp18:08
alert77I am using this:18:16
alert77(Pdb) datetime.fromtimestamp(TimeStamp(t.tid).timeTime())18:16
alert77datetime.datetime(2014, 7, 1, 2, 10, 4, 686741)18:16
alert77Now I have to understand why I have a timestamp pointing to the first of July...18:16
alert77;)18:16
*** nueces has joined #zodb18:20
J1malert77, str(ZODB.TimeStamp.TimeStamp(tid))18:20
J1malert77, tids are UTC18:21
J1malthough it's not july yet in england18:21
alert77Thanks Jim, now I will reply on ZODB-dev!18:22
*** nueces has quit IRC18:39
*** J1m has quit IRC19:19
*** agroszer has quit IRC19:24
*** fdrake has quit IRC19:26
*** J1m has joined #zodb19:32
*** alert77 has quit IRC19:33
*** fdrake has joined #zodb19:34
*** srichter has joined #zodb20:26
*** alert77 has joined #zodb22:12
*** alert77 has quit IRC22:21
*** srichter has quit IRC23:05
*** srichter has joined #zodb23:07

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!