bug in PtCalendar

Have I found a bug in PtCalendar ?
I’m using PtCalendar to select a date. On the select callback I use ‘time’
from cbinfo to get the selected date.Some dates it works fine giving me the
selected date and a time of 00:00, others it gives me the previous date and
a time of 23:00.

Is this a known bug and is there a work around ?

Lindsey Joyce