@pitaj said:
I want to display something like
OMG! I finally got it!
Okay, in NodeBB I've never seen that kind of strings 🙂
But you could just use moment, you know, it's fairly straightforward in use.
As I know there is only one thing you need take care over and above moment's documentation - transform locales' name format from NodeBB-like to moment-like
Just like @julian made it here https://github.com/NodeBB/NodeBB/blob/master/public/src/translator.js#L42-L71