1// Depending on timezone, your results will vary
2const event = new Date('August 19, 1975 23:15:30 GMT+00:00');
3
4console.log(event.toLocaleTimeString('en-US'));
5// expected output: 1:15:30 AM
6
7console.log(event.toLocaleTimeString('it-IT'));
8// expected output: 01:15:30
9
10console.log(event.toLocaleTimeString('ar-EG'));
11// expected output: ١٢:١٥:٣٠ ص
12