```coffeescript
Handlebars.registerHelper "selected", (selected) ->
  return if selected then "checked" else ""

Handlebars.registerHelper "truncate", (text, length) ->
  truncated = text.substring(0, length)
  if text.length > length
    truncated = truncated + "..."
  return truncated

Handlebars.registerHelper "strip", (text) ->
  return text.toString().replace(/^\s\s*/, '').replace(/\s\s*$/, '')

Handlebars.registerHelper "linkify", (text) ->
  exp = /(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig
  return text.toString().replace(exp,"<a href='$1'>$1</a>")

Handlebars.registerHelper "modalValue", (key, text) ->
  text = Handlebars.helpers.formatTimestamp(text) if key in ["issued", "timestamp"]
  linkified = Handlebars.helpers.linkify(text)
  return Handlebars.helpers.strip(linkified)

Handlebars.registerHelper "formatTimestamp", (text) ->
    return Date(text*100)
```

Use ISO8601 format for timestamps
user
```coffeescript
Handlebars.registerHelper "selected", (selected) ->
  return if selected then "checked" else ""

Handlebars.registerHelper "truncate", (text, length) ->
  truncated = text.substring(0, length)
  if text.length > length
    truncated = truncated + "..."
  return truncated

Handlebars.registerHelper "strip", (text) ->
  return text.toString().replace(/^\s\s*/, '').replace(/\s\s*$/, '')

Handlebars.registerHelper "linkify", (text) ->
  exp = /(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig
  return text.toString().replace(exp,"<a href='$1'>$1</a>")

Handlebars.registerHelper "modalValue", (key, text) ->
  text = Handlebars.helpers.formatTimestamp(text) if key in ["issued", "timestamp"]
  linkified = Handlebars.helpers.linkify(text)
  return Handlebars.helpers.strip(linkified)

Handlebars.registerHelper "formatTimestamp", (text) ->
  date = new Date(text*1000)
  return date.toISOString()
```
assistant