Just add a line after the shift line:
$date = GT::Date::date_transform($date,"%dddd%,%mmmm% %d% %yyyy%","%yyyy-%mm%-%dd%");
That's off the top of my head so you may need to check the format is correct if it doesn't work. You may also need a line
use GT::Date;
at the top of the global if it complains.
$date = GT::Date::date_transform($date,"%dddd%,%mmmm% %d% %yyyy%","%yyyy-%mm%-%dd%");
That's off the top of my head so you may need to check the format is correct if it doesn't work. You may also need a line
use GT::Date;
at the top of the global if it complains.