I try to figure out how to translate messages timestamps as part of my effort to improve french translation of lets-chat. I discover that you use the moment.js library to manage datetime. However I'm not a node expert and did not find how to correctly set up moment to use the french locale.
I try to figure out how to translate messages timestamps as part of my effort to improve french translation of lets-chat. I discover that you use the
moment.js
library to manage datetime. However I'm not a node expert and did not find how to correctly set up moment to use the french locale.Any of you has a better idea of how to do that?