Problem/question:
Given a date, I can use the ex:formats attribute to change the format that the date is displayed by the lens (in this case I want to use a template of 'MMMM yyyy'). However, I can not get this format to be used when the date field is used to group items (e.g. I have a ex:role="view" with ex:orders=".date"). Have I not found the right incantation, or is this currently not possible? If not, where could I look to hack this in? I am using exhibit 2.1.0. Details: If you go to http://hea-www.harvard.edu/~dburke/playground/w/test.html then you see that the items have been grouped by date, but the groupings use the value given in the data file rather than the format I believe I've told exhibit to use. You see 2007-02 (1) Test 3 Date: February 2007 ... 2007-01 (2) Test 1 Date: January 2007 ... Test 2 Date: January 2007 ... but I expected the grouping labels to be "February 2007 (1)" and "January 2007 (2)" rather than "2007-02 (1)" and "2007-01 (2)" respectively. I've added ex:formats attributes to all the items with a ex:role attribute to try and get the format changed; I even added info to the data schema to try and force this but to no avail - see http://hea-www.harvard.edu/~dburke/playground/w/test-data.js http://hea-www.harvard.edu/~dburke/playground/w/test-schema.js Thanks for any help, Doug -- ------------------------------------------------------------------- Doug Burke | http://hea-www.harvard.edu/~dburke/ Harvard-Smithsonian | Email: [email protected] Center for Astrophysics | Phone: (617) 496 7853 60 Garden Street MS-2 | Fax: (617) 495 7356 Cambridge, MA 02138 | Office: B-440 ------------------------------------------------------------------- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
