[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Unix.tm, CLOCK: date handling in MirageOS



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA384

On 06/22/2015 18:43, Daniel BÃnzli wrote:
> What do you need exactly ? There's a difference between a) making 
> calendar field arithmetic b) getting POSIX timestamps out of/to
> the various insane timestamps formats that exist in a multitude of 
> obscure RFCs and c) simply decomposing POSIX timestamps to
> gregorian calendar fields and back (Unix.{gmtime,mktime}). Would
> the proposed Ptime module which would provide (c) (and maybe a RFC
> 3339 codec along the way) solve your problem or not ?

The proposed Ptime module would solve the problem for me.


Hannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCQAGBQJViF/9AAoJELyJZYjffCjudGMP/1Nkqphoo/kDu0LeLIV4yr53
oX2vj/92HzDIzafJSD6feOPV9SNc632gxMsLomtFhhnr4HOxyoRr1leUg2UqXE0p
XpwRn3ZpD8Dz4oVPqLY8syTG0V7FF5r2EYx2XUl7gxG7YVoSAj9RlZK9q93REn+i
zFta8eGTkbFdIuf0YGd51NanAdeZJMYP1g3ZhU/IBPjN8SvL6++87g2Oq4EQiQLZ
nDwshNvoNJWSCE6N/y5I2Si0PQ+nCJk1V2D5Kmn1B/GJMGmWaPByR9xzivlRoeIb
0XftrbFyO8oAYYJhL7VF5CRO5nlyulGbwBufM7Swx/H/1OKaDGeVjgI+tT4G8Dea
GoPj6Q9joaQMxQMSfgljDhHeRGub+8JQvlIbzns7BQNsYTQBjq2vL7f5LlhF1vtR
CKUFTQddAlrf+94Ogqre8PJzlrRzaxjo/psHiL3tnsQjS1RWRWxdE610OWJ93AM9
HKpVq01WMWNRFsQM8R/yFdsqeIyrm+fb4CvHrkKJ6orP8tn+8+mC3Y3HtIhpysti
BZlAxXz7P7FHUVYHQY6DlnwxJdk2T02Jsc72m9rD1zAnUEb800TiKsjQtmVkG8cV
ReFgFiOnn/LPYQnLU3B6P44dqdp0C7K9GypeLFVknU1dGOKshdMXEWaXhxGXoovv
Sk/nZcsIvURf4UrKxjlV
=kGeZ
-----END PGP SIGNATURE-----

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.