phpcr/phpcr-utils — pull request #7 by fabian (2011-12-23 16:17:32+00:00)
Title: Cast literal

Convert a literal of type DateTime into a CAST('literal' AS DATE)

Compare with append(Literal value) from https://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/commons/query/sql2/QOMFormatter.java