I need to do something like this:
<?php $bloginfo = get_bloginfo( 'language' );
if($bloginfo->en-US){
the_time('jS F Y');
}else{ the_time('d/m/Y');
};
?>
I cant find the proper way to wrap en-US.
Any ideas? Thank you in advance, people.
get_bloginfo
returns strings so this works fine: