Hello, I'm thinking of adding a timeline view to an Exhibit generated
from a BibTex file. My question is about generating date format in-line.

My JSON data is as follows:
{"items":[
  {"id":"Some paper",
   "author":["John, E.B.","Jane, M. V."],
   "year":"2007",
   "month":"March"}
]}

Then I would write the html code like this.
<div ex:role="view"
    ex:viewClass="Timeline"
    ex:start="concat(.year, .month)">

Do I need some helper function in javascript to do the date format
conversion from the name of the month to number string?
Or should I prepare the JSON date formatted using iso8601?
---
Natsuhiko Mizutani



_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to