The frontend/UI server, written in JS using the MarkoJS library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
192 B

  1. const moment = require("moment")
  2. module.exports = class {
  3. onCreate(input) {
  4. this.state = {
  5. expand: false,
  6. dateStr: moment(input.log.date).format("MMM D, YYYY"),
  7. }
  8. }
  9. }