<!--
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Wed May 22 11:54:31 UTC 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.doctrine-project.org/jira/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+10040+AND+labels+%3D+format&tempMax=1000&field=key&field=summary
-->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="http://www.doctrine-project.org/jira/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92">
    <channel>
        <title>Doctrine Project</title>
        <link>http://www.doctrine-project.org/jira/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+10040+AND+labels+%3D+format</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="2" total="2"/>
                <build-info>
            <version>5.2.7</version>
            <build-number>850</build-number>
            <build-date>21-02-2013</build-date>
        </build-info>
<item>
            <title>[DBAL-525] PostgreSQL - getDateTimeFormatString() missing</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-525</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;Using PostgreSQL and column with &quot;timestamp without time zone&quot; returns datetime in format Y-m-d H:i:s.u but not always. If u is zero the PHP driver returns Y-m-d H:i:s format only. Specification of function getDateTimeFormatString is missing for this case too. It&apos;s required to resolve described different two formats and add getDateTimeFormatString with usec to postgres platform&lt;br/&gt;
It&apos;s similar as &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DBAL-397&quot; title=&quot;PostgreSQL - getDateTimeTzFormatString()&quot;&gt;&lt;del&gt;DBAL-397&lt;/del&gt;&lt;/a&gt; but for not time zone datetimes. It throws the same exception as in linked issue.&lt;/p&gt;</description>
                <environment>PostgreSQL Database</environment>
            <key id="14978">DBAL-525</key>
            <summary>PostgreSQL - getDateTimeFormatString() missing</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10000">All</security>
                        <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="honzap">Jan Pecek</reporter>
                        <labels>
                        <label>datetime</label>
                        <label>format</label>
                        <label>postgresql</label>
                    </labels>
                <created>Wed, 22 May 2013 09:16:56 +0000</created>
                <updated>Wed, 22 May 2013 09:16:56 +0000</updated>
                                    <version>2.3.4</version>
                                                <component>Platforms</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>

<item>
            <title>[DBAL-397] PostgreSQL - getDateTimeTzFormatString()</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-397</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;p&gt;In: &lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The function:&lt;/p&gt;

&lt;p&gt;    getDateTimeTzFormatString()&lt;/p&gt;

&lt;p&gt;only returns one datetime format:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;

    /**
     * {@inheritDoc}
     */
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; function getDateTimeTzFormatString()
    {
        &lt;span class=&quot;code-comment&quot;&gt;//&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; &apos;Y-m-d H:i:sO&apos;; // original format
&lt;/span&gt;        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; &apos;Y-m-d H:i:s.uO&apos;; &lt;span class=&quot;code-comment&quot;&gt;// format also needed
&lt;/span&gt;    }


&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Here is the error I get using the original format:&lt;/p&gt;

&lt;p&gt;    Could not convert database value &quot;2012-12-07 16:01:52.580789-05&quot; to Doctrine Type datetimetz. Expected format: Y-m-d H:i:s.O&lt;/p&gt;

&lt;p&gt;If I use this format: &apos;Y-m-d H:i:s.uO&apos; it works.&lt;/p&gt;




</description>
                <environment>PostgreSQL Database</environment>
            <key id="14308">DBAL-397</key>
            <summary>PostgreSQL - getDateTimeTzFormatString()</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="ppafford">Phill Pafford</reporter>
                        <labels>
                        <label>datetime</label>
                        <label>dql</label>
                        <label>format</label>
                        <label>postgresql</label>
                    </labels>
                <created>Wed, 12 Dec 2012 14:15:20 +0000</created>
                <updated>Mon, 17 Dec 2012 15:21:20 +0000</updated>
                    <resolved>Sun, 16 Dec 2012 11:36:02 +0000</resolved>
                            <version>2.3.1</version>
                                                <component>Platforms</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19126" author="ppafford" created="Wed, 12 Dec 2012 14:16:38 +0000"  >&lt;p&gt;adding html tags for code to display correctly &lt;/p&gt;</comment>
                    <comment id="19139" author="beberlei" created="Sun, 16 Dec 2012 11:36:02 +0000"  >&lt;p&gt;DateTimeTz is created as &apos;TIMESTAMP(0) WITH TIME ZONE&apos; on DBAL. If you have &apos;TIMESTAMP(6) WITH TIME ZONE&apos; instead, then you have to create your own datatye.&lt;/p&gt;</comment>
                    <comment id="19154" author="ppafford" created="Mon, 17 Dec 2012 15:19:53 +0000"  >&lt;p&gt;Why would this be a new data type? I understand how to fix the problem with creating my own data type to handle the formatting issue and would even suggest just overriding the data type with &lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;

        Type::overrideType(&apos;datetimetz&apos;, &apos;Doctrine\DBAL\Types\VarDateTimeType&apos;);
    Type::overrideType(&apos;datetime&apos;, &apos;Doctrine\DBAL\Types\VarDateTimeType&apos;);

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;But it&apos;s not a new data type, it&apos;s a formatting issue.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>