Format a duration given in seconds according to the global setting. Either
seconds are shown or not.
public static formatDuration ( $sek ) : integer | array | ||
리턴 | integer | array | depending on the $sek param which contains the formatted duration |