I have an multidimensional Array in Ruby, like this:
[["2013-08-22 13:23:12 +0212", 100, 1], ["2013-09-22 14:25:12 +0123" , 123, 1]]
I would like to split the string in the first array position and the time to hours, minutes and seconds (and convert these to integers), so it will become:
[["2013-08-22", 13, 23, 12, "+0212", 100, 1], [.....]]
Does anyone know how to solve this problem?