|
|
Choosing A Webhost: |
Passing dates from Perl: msg#00009cms.opengroupware.xmlrpc.devel
Hello, I am writing a small Perl script to become familiar with the XML-RPC API. I am using the RPC::XML::Client package of Perl to get a connection to the OGo server. Now, I want to create a task programmatically. But contrary to the documentation, the xmlrpcd does not seem to accept dates in the format %Y%m%dT%H%M%S. In xmlrpcd.log I find the following: Jun 27 12:32:04 ogo-xmlrpcd-1.1 [3480]: [WARN] <0x08316CE4[LSNewJobCommand]> date command argument 'startDate' is not a date (NSShortInline8BitString): 20060722T10:30:00 Jun 27 12:32:04 ogo-xmlrpcd-1.1 [3480]: [ERROR] <0x08316CE4[LSNewJobCommand]> Could not convert key startDate (NSShortInline8BitString:20060722T10:30:00) to date, format is %Y-%m-%d %H:%M:%S When I try the format %Y-%m-%d %H:%M:%S, I still get the warning in the logs and an error on the client side, but the task is created all right. Can someone tell me more about this issue? Should I use %Y-%m-%d %H:%M:%S and ignore the warning, i.e. did the date format change since the documentation was written (xml-rpc-de.pdf from around 2003)? Or is it that the xmlrpcd somehow does not properly convert date strings into date objects in my setup? The server is runing OGo-1.1.3 with sope-4.5.6. Thanks, Alex -- OpenGroupware.org XML-RPC xmlrpc@xxxxxxxxxxxxxxxxx http://mail.opengroupware.org/mailman/listinfo/xmlrpc
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | OGoMojo 0.0.19 w/MOGIMon, Adam Tauno Williams |
|---|---|
| Next by Date: | Re: Passing dates from Perl, Helge Hess |
| Previous by Thread: | OGoMojo 0.0.19 w/MOGIMon, Adam Tauno Williams |
| Next by Thread: | Re: Passing dates from Perl, Helge Hess |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
|
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |