Trade & Play Event, featuring Pokémon & Nintendo
Find a participating store near you
me(time) {
const hours = parseInt(time.substring(0, 2));
const minutes = time.substring(2);
const meridiem = hours >= 12 ? 'PM' : 'AM';
const formattedHours = hours % 12 || 12;
return `${formattedHours}:${minutes}${meridiem}`;
}
});