Re: [Mono-dev] DateTime.ParseExact bug ?

2011-09-22 Thread huseyin cakir
It seems that the error comes if you enter the Z/T to the end of parse string. - CODE 1: System.Globalization.CultureInfo provider = new System.Globalization.CultureInfo("tr-TR"); DateTime dt = DateTime.ParseExact( "1984-09-17

Re: [Mono-dev] DateTime.ParseExact bug ?

2011-09-22 Thread Nicklas Overgaard
Thanks, wasen't sure of the bug report url after novell's demise. Posted as bug: http://bugzilla.xamarin.com/show_bug.cgi?id=992 /Nicklas On 2011-09-22 12:39, Marek Safar wrote: Hi, Please fill a bug report at http://bugzilla.xamarin.com/ Thanks Marek Nodbody? Anywho, since it's an incompa

Re: [Mono-dev] DateTime.ParseExact bug ?

2011-09-22 Thread Marek Safar
Hi, Please fill a bug report at http://bugzilla.xamarin.com/ Thanks Marek Nodbody? Anywho, since it's an incompability with .net I guess that I should file a bug somewhere? Best regards, Nicklas On 2011-09-19 00:04, Nicklas Overgaard wrote: Yes, i'm very sure - it's copy-paste from the so

Re: [Mono-dev] DateTime.ParseExact bug ?

2011-09-22 Thread Nicklas Overgaard
Hi, Nodbody? Anywho, since it's an incompability with .net I guess that I should file a bug somewhere? Best regards, Nicklas On 2011-09-19 00:04, Nicklas Overgaard wrote: Yes, i'm very sure - it's copy-paste from the solrnet source code: https://github.com/mausch/SolrNet/blob/master/SolrNe

Re: [Mono-dev] DateTime.ParseExact bug ?

2011-09-18 Thread Nicklas Overgaard
Yes, i'm very sure - it's copy-paste from the solrnet source code: https://github.com/mausch/SolrNet/blob/master/SolrNet/Impl/FieldParsers/DateTimeFieldParser.cs And the code-snippet I attached below does indeed work on windows in .net :) /Nicklas On 2011-09-18 23:00, Stefano Canepa wrote: N

Re: [Mono-dev] DateTime.ParseExact bug ?

2011-09-18 Thread Stefano Canepa
Nicklas Overgaard at "Sun, 18 Sep 2011 18:34:08 +0200" wrote: NO> Hi, NO> I'm currently working with Solr and SolrNet for a project. However, i'm NO> encountering errors when SolrNet is parsing date times... NO> I have located the date-time parsing code in SolrNet, and made a sample NO>

[Mono-dev] DateTime.ParseExact bug ?

2011-09-18 Thread Nicklas Overgaard
Hi, I'm currently working with Solr and SolrNet for a project. However, i'm encountering errors when SolrNet is parsing date times... I have located the date-time parsing code in SolrNet, and made a sample test application shown below: using System; using System.Linq; using System.Globalizati