How do I insert a valid timestamp into a CSL style file?
I know this is probably a very silly question so apologies in advance.
I am updating a CSL style file and want to add a timestamp, per:
http://docs.citationstyles.org/en/stable/specification.html
However, under the
http://books.xmlschemata.org/relaxng/ch19-77049.html
...which is broken. So, I'm not sure what the proper format is for timestamps - my code keeps failing the validation checker and throwing up errors when I try to import it into Zotero. I'd like to use the "updated" field so I can keep easy track of my edits.
I generally use Atom to edit my CSL files, and I couldn't find a package that inserts a timestamp in the appropriate format. Is there a website that generates this format?
Much thanks!
I am updating a CSL style file and want to add a timestamp, per:
http://docs.citationstyles.org/en/stable/specification.html
However, under the
cs:update
section, it refers to this page:http://books.xmlschemata.org/relaxng/ch19-77049.html
...which is broken. So, I'm not sure what the proper format is for timestamps - my code keeps failing the validation checker and throwing up errors when I try to import it into Zotero. I'd like to use the "updated" field so I can keep easy track of my edits.
I generally use Atom to edit my CSL files, and I couldn't find a package that inserts a timestamp in the appropriate format. Is there a website that generates this format?
Much thanks!
2017-10-13T04:00:36+00:00
, where the +00:00 is the offset from UTC (~Greenwich). You should be able to replace that with Z if the time is stated in UTC.is simple. You want the ISO 8601 option
I haven't tested it, but this doesn't work in Atom?
https://atom.io/packages/iso8601-timestamp
Thank you so much!!