Assalamu 'alaykum,
Basically i was checking prayer times with the api http://api.aladhan.com/ and i noticed that midnight and thirds of nights are calculated from ishaa and not from maghrib prayer time, I think this is an error.. I also asked a scholar and checked some resources to be sure.
example:
{
"code":200,
"status":"OK",
"data":
{"timings":{"Fajr":"04:08","Sunrise":"05:36","Dhuhr":"13:26","Asr":"17:36","Sunset":"21:16","Maghrib":"21:16","Isha":"22:44","Imsak":"03:58","Midnight":"01:26","Firstthird":"00:03","Lastthird":"02:50"
},
As you can see Midnight (01:26) is calculated as the midpoint between Isha (22:44) and Fajr (04:08), and the same thing with 1st/3 and 3rd/3. I have been suggested that this can dipend on time calculation method but i think it's genuine mistake, can you please check?
Shukran