original_string: public static function dttm2br($var,$separador="/"){
  			if(preg_match('/([0-9]{4})\-([0-9]{2})\-([012][0-9]|3[01])[ ]([0-9]{2}):([0-9]{2}):([0-9]{2})/', $var, $array)){
  				$dt = self::checkDtbr($array[3], $array[2], $array[1],$separador);
  				if($dt && ($array[4] != '00' || $array[5] != '00'))
  					$dt .= '  '.$array[4].':'.$array[5];
  				return $dt;
  			}
  		}
code: public static function dttm2br($var,$separador="/"){
  			if(preg_match('/([0-9]{4})\-([0-9]{2})\-([012][0-9]|3[01])[ ]([0-9]{2}):([0-9]{2}):([0-9]{2})/', $var, $array)){
  				$dt = self::checkDtbr($array[3], $array[2], $array[1],$separador);
  				if($dt && ($array[4] != '00' || $array[5] != '00'))
  					$dt .= '  '.$array[4].':'.$array[5];
  				return $dt;
  			}
  		}
code_tokens: public static function dttm2br ( $ var , $ separador = "/" ) { if ( preg_match ( '/([0-9]{4})\-([0-9]{2})\-([012][0-9]|3[01])[ ]([0-9]{2}):([0-9]{2}):([0-9]{2})/' , $ var , $ array ) ) { $ dt = self :: checkDtbr ( $ array [ 3 ] , $ array [ 2 ] , $ array [ 1 ] , $ separador ) ; if ( $ dt && ( $ array [ 4 ] != '00' || $ array [ 5 ] != '00' ) ) $ dt .= '  ' . $ array [ 4 ] . ':' . $ array [ 5 ] ; return $ dt ; } }
docstring: transforma datetime do servidor US para data e hora BR
docstring_tokens: transforma datetime do servidor US para data e hora BR