Add duration format to user model (lib)