I have been investigating this Calendar bug a bit further. So the calendar
popup actually comes up offset by one day, but when you click on a
particular day, it does not copy the apparent date into the date field.
Instead it copies in the date it should have been if the calendar popup had
appeared correctly. It's seems to be holding different information than
what is printed on screen, but the confusing thing is that the code appears
to be pulling the date directly from the contents of the cell, according to
line 283 in Calendar.py:

text = grid.getText(row, col).strip()

Any ideas about how it is possible, with this command, for the two numbers
to not match would be helpful. I'll keep looking into it in the mean time.

Thanks.

David

On Mon, Mar 26, 2012 at 14:58, lkcl luke <[email protected]> wrote:

> On Mon, Mar 26, 2012 at 7:54 PM, Rob Peters
> <[email protected]> wrote:
> > Hi David,
> >
> > I recently made my first ever contribution to Pyjamas, and it was a
> > relatively painless process.
> >
> > Use git's "patch" feature to create a patch (some details here
> > http://progit.org/book/ch5-2.html#public_large_project)
> >
> > Make sure you're not committing whitespace! (That was my mistake).
>
>  *lol*.  well whitespace is fine, because that's often a bug too: it
> just should be as a *separate* patch.  one which says "this is a
> whitespace cleanup".
>
>  l.
>

Reply via email to