How are people handling the Erlang time API when the code has to be backwards/forwards compatible for 17 and 18?
-
-
En réponse à @cmeik
@cmeik os:timestamp() if you don't need unique values. Or timestamp() from riak_time_compat.erl in https://github.com/riak-wws/riak_time_compat …1 réponse 0 Retweet 0 j'aime -
En réponse à @billstclair
@billstclair I just used the Erlang provided time compat library and patched up Lasp, all good.1 réponse 0 Retweet 0 j'aime -
En réponse à @cmeik
@billstclair Ah, I see that's what your library does as well.1 réponse 0 Retweet 0 j'aime -
En réponse à @billstclair
@billstclair The majority of places where now() was being used was for unique identifiers, so I already used the library a few places.1 réponse 0 Retweet 0 j'aime
Le chargement semble prendre du temps.
Twitter est peut-être en surcapacité ou rencontre momentanément un incident. Réessayez ou rendez-vous sur la page Twitter Status pour plus d'informations.