Re: Jalali Calendar (was: Persian Language)

2010-01-12 Thread David T.
I don't know if this would help, but the link below shows C# code for a converter: http://www.codeproject.com/KB/database/PersianDateInSQLServer.aspx David --- On Tue, 1/12/10, Christian Stimming wrote: > From: Christian Stimming > Subject: Re: Jalali Calendar (was: Persian Language) > To: g

Re: Jalali Calendar (was: Persian Language)

2010-01-12 Thread Christian Stimming
Hello, Am Dienstag, 12. Januar 2010 schrieb Mehdi Alidoost: > You can Convert Persian Calendar to or From Gregorian Calendar. > > http://www.fourmilab.ch/documents/calendar/ thanks for this pointer - the explanation there is tremendously good. > we use this scenario on our Persian software: on

Re: Persian Language

2010-01-12 Thread Christian Stimming
Dear Mehdi Alidoost, thank you for this update and the second update as well. I've committed your second update into our SVN so that it will be included in the next release and also in the next nightly windows build. Am Dienstag, 12. Januar 2010 schrieb Mehdi Alidoost: > I'll consider your sugg

AW: AW: AW: AW: Closing books: reference date

2010-01-12 Thread Jannick Asmus
Derek Atkins wrote: "Jannick Asmus" writes: Well, keep in mind that we're trying to make sure we get the 'right day'.. And I was also unaware that HBCI would get posted at a time' different than manual entry.. *sigh* I strongly believe that HBCI has to behave like this because it wants t

Re: Any prognosis for when 2.4 is due?

2010-01-12 Thread Phil Longstaff
On the webkit/gtk mailing list, there are a few people who are trying to get it to work on win32. There is some support from the main developers, but it's not great. I picked webkit over gecko because it seemed farther ahead. Gecko may have passed it by now, so after 2.4 is out, I'll look at

Re: Persian Language

2010-01-12 Thread Derek Atkins
Phil, Phil Longstaff writes: > For both mysql and postgresql, "20100210" is a valid date string > meaning February 10th. In the jalali calendar, my understanding is > that the 2nd month has 31 days. Therefore, "20100231" would be a > valid date. However, I don't know if mysql/postgresql would

Re: AW: AW: AW: Closing books: reference date

2010-01-12 Thread Derek Atkins
"Jannick Asmus" writes: >> Well, keep in mind that we're trying to make sure we get the 'right >> day'.. And I was also unaware that HBCI would get posted at a >> time' >> different than manual entry.. *sigh* > > I strongly believe that HBCI has to behave like this because it wants > to seperat

Re: Persian Language

2010-01-12 Thread Phil Longstaff
For both mysql and postgresql, "20100210" is a valid date string meaning February 10th. In the jalali calendar, my understanding is that the 2nd month has 31 days. Therefore, "20100231" would be a valid date. However, I don't know if mysql/postgresql would reject it, thinking I wanted Feb 31s

Re: Persian Language

2010-01-12 Thread Colin Law
2010/1/12 Phil Longstaff : > I looked at the jalali calendar on Wikipedia > (http://en.wikipedia.org/wiki/Iranian_calendar).  I don't know exactly what > calendar widgets are used, but the major question would be whether it > supports alternate month definitions (6 months of 31 days, followed by

AW: AW: AW: Closing books: reference date

2010-01-12 Thread Jannick Asmus
Derek Atkins wrote: "Jannick Asmus" writes: Mike Alexander wrote: I think you're both right. It's using the time posted as Derek says, but this transaction is excluded because it's posted time is after noon on December 31. The code in dialog-close-book.c adjusts the closing date to noon o

Re: Persian Language

2010-01-12 Thread Phil Longstaff
I looked at the jalali calendar on Wikipedia (http://en.wikipedia.org/wiki/Iranian_calendar). I don't know exactly what calendar widgets are used, but the major question would be whether it supports alternate month definitions (6 months of 31 days, followed by 5 months of 30 days, followed by

Re: Any prognosis for when 2.4 is due?

2010-01-12 Thread Derek Atkins
Christian Stimming writes: > Am Sonntag, 10. Januar 2010 schrieb Phil Longstaff: >> On Wed, 2009-12-30 at 14:00 -0500, Phil Longstaff wrote: >> > As far as major pieces for 2.4, the last thing is webkit on windows >> > (webkit on linux/mac seem to work fine, webkit on windows has some >> > really

Re: AW: AW: Closing books: reference date

2010-01-12 Thread Derek Atkins
"Jannick Asmus" writes: > Mike Alexander wrote: > >> I think you're both right. It's using the time posted as Derek >> says, but this transaction is excluded because it's posted time is >> after noon on December 31. The code in dialog-close-book.c adjusts >> the closing date to noon on the date

Re: Windows build failed, r18541 incompatible with guile-1.6

2010-01-12 Thread Derek Atkins
Geert Janssens writes: [snip] > Is the problem sufficiently solved with Christian's guile-compat.h fix ? If > not, I can look into an alternative solution. I believe that yes, this solved the problem. Thanks, > Regards, > > Geert (who is learning every day...) -derek -- Derek Atkins

AW: AW: Closing books: reference date

2010-01-12 Thread Jannick Asmus
Mike Alexander wrote: I think you're both right. It's using the time posted as Derek says, but this transaction is excluded because it's posted time is after noon on December 31. The code in dialog-close-book.c adjusts the closing date to noon on the date given: cbw->close_date = gnc_d