Changing PM to pm

Permalink
The variables $st_a and $et_a in the add-on Simple Event by Chad produce the morning/afternoon abbreviations in uppercase "PM", in what file and how would I change that to lowercase? I know in php the command is either A or a for uppercase or lowercase. But, I can't find the file that has that command, or maybe the default is uppercase? Any ideas?

sschildbach
 
guythomas replied on at Permalink Best Answer Reply
guythomas
I'm not familiar with the add on you are describing, but since you are giving us the actual variable name, I am going to assume that you are writing the code to print it out. If that is the case just use the PHP command for lower case.
$st_a = strtolower($st_a);
$et_a = strtolower($et_a);


This will reset those variables to all lower case.