No idea about how to make this work?
---------- Forwarded message ----------
From: Benoit Dutilleul <[EMAIL PROTECTED]>
Date: 9 juin 2007 19:23
Subject: Manipulating dates with MarkupExpressions & ZAP
To: [email protected]
I am working on a system to manage a list of events. Each event is defined
by a title, a description, a date and a venue. I have problems to have the
dates working properly. Indeed, my zap form asks the user adding the event
for a year, a month, a day and an hour but I want all this information to be
converted into a timestamp.
This is how I am trying to do it - without success - for the moment:
(:zapform key=AddEvent:)
(:zap datapage="Events.Event-{(ftime %s)}" AddEvent:)
(:input text EventYear "{$thisyear}":)
(:zap EventDate={(ftime fmt='%s' when='{$EventYear}')} AddEvent:)
(:zap savedata="EventDate" AddEvent:)
(:input submit:)
(:zapend:)
Any idea of how I can make it work?
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users