date.format in vxws.properties doesn't alter format in some services
- Article Type: General
- Product: Voyager
- Product Version: 7.2.4
- Relevant for Installation Type: Dedicated-Direct; Direct; Local;
Symptoms
* Changing date format in vxws.properties appears to alter the date format in some services (like Record Items, for example), but not others (Patron Circulation Actions – Loans, for example).
Defect Status
Issue 16384-16194 / VYG-239 is resolved for Voyager 8.1.2 and higher.
Replication Steps
Replication steps:
1. In /m1/voyager/yyydb/vxws/context/vxws/ui/eng, edit the date.format= variable in vxws.properties to, for example, MM-dd-yyyy.
2. Check the date format in the xml Voyager sends:
http://xx.xxx.x.xx:7014/vxws/patron/444/circulationActions/loans/1@MAST20001DB20020910104124|65590?patron_homedb=1@MAST20001DB20020910104124
<response>
<reply-text>ok</reply-text>
<reply-code>0</reply-code>
<resource>
<loan canRenew="Y">
<itemId>65590</itemId>
<itemBarcode>15059274</itemBarcode>
<dueDate>2012-07-20 23:59</dueDate>
<origDueDate>2012-07-20 23:59</origDueDate>
<todaysDate>2011-07-21 17:24</todaysDate>
<title>
Our story begins : new and selected stories / by Tobias Wolff.
</title>
<author>Wolff, Tobias, 1945- </author>
<location>Main</location>
<locationCode>main</locationCode>
<callNumber>PS3573.O558O97 2008</callNumber>
<statusCode>2</statusCode>
<statusText>Charged</statusText>
<itemtype>book</itemtype>
<dbKey>1@MAST20001DB20020910104124</dbKey>
<dbName>Voyager Library Training Database</dbName>
<instName>Local Database</instName>
</loan>
</resource>
</response>
3. Note that the date is still formatted yyyy-MM-dd.
Category: Interoperability
- Article last edited: 3/7/2015