devinross / tapkulibrary

tap + haiku = tapku, a well crafted open source iOS framework
http://devinross.com/tapku/documentation
MIT License
3.9k stars 653 forks source link

Tapku Calendar #230

Closed nandini1718 closed 11 years ago

nandini1718 commented 11 years ago

Hi,

I have used tapku calendar in my application and i have following problem.

I have one meeting at 10.30AM UK time. I am travelling to Paris.The train crosses the channel and arrives in France. My iPhone picks up automatically that we are in a new country and adjusts the time automatically.I pull up the iPhone and check my application again: the meeting now shows at 11:30AM!!!

I want to be meeting timing as it is i.e. 10.30 AM.(I dont want to reflect my calendar event as time zone changes.) What changes should i do for this. Please help me.

Thanks, Nandini.

devinross commented 11 years ago

Hi Nandini,

The actual time output (10am,11am,12pm) is a reflection of current time zone or the time zone object you set as a property of the calendar view. If you're events are non-respective of time zone (ie the event occurs at 10:30 regardless of time zone) you need re-adjust your NSDate objects to reflect the proper time zone of the view. You would want to use nsdatecomponents for this. NSDate is just a point in time since 1970. Your time zone modifies the output.  — Sent from my iPhone

On Thu, May 2, 2013 at 2:45 AM, Nandini639 notifications@github.com wrote:

Hi, I have used tapku calendar in my application and i have following problem. I have one meeting at 10.30AM UK time. I am travelling to Paris.The train crosses the channel and arrives in France. My iPhone picks up automatically that we are in a new country and adjusts the time automatically.I pull up the iPhone and check my application again: the meeting now shows at 11:30AM!!! I want to be meeting timing as it is i.e. 10.30 AM.(I dont want to reflect my calendar event as time zone changes.) What changes should i do for this. Please help me. Thanks,

Nandini.

Reply to this email directly or view it on GitHub: https://github.com/devinross/tapkulibrary/issues/230