<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : CXTPPropertyGridItemDate doubt</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : CXTPPropertyGridItemDate doubt]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 06:54:53 +0000</pubDate>
  <lastBuildDate>Tue, 11 Aug 2009 06:54:51 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=14909</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[CXTPPropertyGridItemDate doubt : It&amp;#039;s a bug!   return oleDate.Format(); should...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14909&amp;PID=51848&amp;title=cxtppropertygriditemdate-doubt#51848</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14909<br /><strong>Posted:</strong> 11 August 2009 at 6:54am<br /><br />It's a bug!<DIV>&nbsp;</DIV><DIV><FONT color=#0000ff size=2><FONT color=#0000ff size=2><DIV><FONT color=#0000ff>return</FONT></FONT></FONT><FONT color=#0000ff size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>oleDate</FONT></FONT><FONT size=2>.</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>Format</FONT></FONT><FONT size=2>();</DIV><DIV><strong>should be</strong></DIV><DIV><FONT color=#0000ff></FONT><DIV><FONT color=#0000ff>return<FONT size=2> </FONT></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>oleDate</FONT></FONT><FONT size=2>.</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>Format</FONT></FONT><FONT size=2>(<FONT color=#010001 size=2><FONT color=#010001 size=2><strong>VAR_DATEVALUEONLY</strong></FONT></FONT>);</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Otherwise the formatting is erroneous. E.g. with my Swedish setting the date should be formatted as YYYY-mm-dd, but with your code I keep getting YYYY/mm/dd.</DIV></FONT></DIV></FONT></DIV>]]>
   </description>
   <pubDate>Tue, 11 Aug 2009 06:54:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14909&amp;PID=51848&amp;title=cxtppropertygriditemdate-doubt#51848</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPPropertyGridItemDate doubt : XTP 13.1.  I don&amp;#039;t like...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14909&amp;PID=51602&amp;title=cxtppropertygriditemdate-doubt#51602</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14909<br /><strong>Posted:</strong> 05 August 2009 at 9:37am<br /><br /><DIV>XTP 13.1.</DIV><DIV>&nbsp;</DIV><DIV>I don't like the initialization of "m_strFormat".</DIV><DIV>void CXTPPropertyGridItemDate::Init(const COleDateTime&amp; oleDate)<BR>{<BR>&nbsp;&nbsp;&nbsp; m_nFlags = xtpGridItemHasComboButton | xtpGridItemHasEdit;<BR>&nbsp;&nbsp;&nbsp; m_strFormat = <strong>_T("%d/%m/%Y")</strong>;<BR>}</DIV><DIV>&nbsp;</DIV><DIV>That's not the desired format on many platforms! Instead, you usually want to format like this:</DIV><DIV>date.Format(<strong>VAR_DATEVALUEONLY</strong>)</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>This is not possible with your current implementation. I suggest you make this the default.</DIV>]]>
   </description>
   <pubDate>Wed, 05 Aug 2009 09:37:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14909&amp;PID=51602&amp;title=cxtppropertygriditemdate-doubt#51602</guid>
  </item> 
 </channel>
</rss>