thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Will Pierce <wi...@nuclei.com>
Subject Re: 回复:AW: Datetime data type in Thrift?
Date Fri, 23 Aug 2013 21:00:07 GMT
A better approach might be to add this as a contributed .thrift file for
the contrib/ directory, with associated per-language library files.

The wire format certainly would need to be timezone invariant (like
epochtime) and probably less limited than epochtime (dates before Jan 1,
1970 have been known to happen).

As a subdirectory in contrib/, it would be a convenient and safe place to
stomp out the
platform/timezone/precision/dependency/language-nativetype-mapping bugs.
 If it goes well, it would certainly be useful for functionality and as an
example.

Just my $0.02.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message