You are not logged in Log in Join
You are here: Home » Members » zwork » Zwork's Tracker » Zwork's Tracker » dc_view

Log in
Name

Password

 
 


Dublin Core Elements

The Dublin Core metadata element set is a standard for cross-domain information resource description.
Element Description Value
Identifier resource ID http://old.zope.org/Members/zwork/tracker/3
Title resource name Zwork's Tracker
Description resource summary A suggestion: ZODBC and/or ZSQL seem to have forgotton about Date fields. I use the following DTML Method (arbitrarily named sqldate)to convert dates in the REQUEST object to SQL date format: <dtml-if theDate> <dtml-var expr="_.DateTime(theDate).strftime('#%m/%d/%Y %H:%M:%S#')"> <dtml-else> <dtml-var expr="_.DateTime().strftime('#%m/%d/%Y %H:%M:%S#')"> </dtml-if> Then in the SQL Method I use: <dtml-var expr="sqldate(aDate)" type=nb> I am sure there are better ways, but it works for me. Is it useful to incorporate into Znolk somehow? --Neil
Creator resource creator ZopeOrgSite
Date default date 2001-10-21 07:23:20
Format resource format text/html
Type resource type Collector Issue
Subject resource keywords , feature request, low
Contributors resource collaborators
Language resource language
Publisher resource publisher No publisher
Rights resource copyright


Additional Zope Elements

Element Description Value
CreationDate date resource created 2001-10-21 07:23:20
ModificationDate date resource last modified 2001-10-21 07:23:20
EffectiveDate date resource becomes effective None
ExpirationDate date resource expires None

Backlinks: via Google / Technorati