It will be stored as string in any format. Jackalope will turn it in a DateTime object on retrieval if I understand correctly. So how we store it won't matter for PHPCR itself, and can be MySQL specific as long it's usable by DateTime. 



Op 23 feb. 2013 om 22:29 heeft Luis Cordova <notifications@github.com> het volgende geschreven:

> In src/Jackalope/Transport/DoctrineDBAL/Client.php:
> 
> > @@ -815,7 +815,7 @@ private function propsToXML($properties, $inlineBinaries = false)
> >                      if (!$date instanceof \DateTime) {
> >                          $date = new \DateTime("now");
> >                      }
> > -                    $values = $date->format('r');
> > +                    $values = $date->format('Y-m-d H:i:s');
> >                      break;
> I believe the c format will have to be stored as a string and not as a DateTime as per the mysql limitation. That is why i asked in view that phpcr is not tied to mysql. So I wonder if you guys went for some standard format. We are splitting this into two properties but I wonder what is best.
> …
> —
> Reply to this email directly or view it on GitHub.
>