Show group basic information

This commit is contained in:
2019-05-16 18:05:21 +02:00
parent a2d444bdb0
commit d7e732457d
3 changed files with 63 additions and 6 deletions

View File

@ -183,4 +183,15 @@ function getInfoGroup(id, callback){
*/
function getInfoMultipleGroups(IDs, callback, force){
ComunicWeb.components.groups.info.getInfoMultiple(IDs, callback, force);
}
/**
* Get the difference of time from now to a specified
* timestamp and return it as a string
*
* @param {Integer} time The base time
* @return {String} Computed difference
*/
function timeDiffToStr(time) {
return ComunicWeb.common.date.timeDiffToStr(time);
}