I am matching two attributes in assembla(no DB) but one attribute save the date and time in GMT due to which I am unable to find the exact matches. I have decided to add +5 to the one which contains GMT time at runtime so the both the attributes date time will be same and I can find the exact match.
First I want to add the time so I can get the correct time, and then I am splitting the time because the other attribute doesn't contain time.
abc_date = ticket['abc_date'].?
abc_date = ticket['abc_date'].split('T')[0]
abc_date: 2015/4/1 8pm
Is currently like this
abc_date: 2015/4/2 1am
I want it like this after hours added
N.B abc_date
is a datetime field.