I want to export %year% in a format that will be used in HTML later. My songs have the following format "2020-09-21T07:00:00Z" and sometimes "2020-09-21".
I want to transform it into the Brazilian format: "DD de MM de YYYY" and also replace MM with the Portuguese word equivalent. For example, you have "February 24, 2020", and in Brazil it would be "24 de Fevereiro de 2020".
1º how to achieve the desired year format and how to replace accordingly in the export file? Can it be done with 12 ifs? I started with something like:
$if( "MM" from "DD de MM de YYYY" = 01 , $replace(%year%,01,Janeiro)], do nothing )
$if( "MM" from "DD de MM de YYYY" = 02 , $replace(%year%,02,Fevereiro)], do nothing )
$if( "MM" from "DD de MM de YYYY" = 03 , $replace(%year%,03,Março)], do nothing )
I appreciate any help very much.