Giter Site home page Giter Site logo

Show dates as human readable about ui HOT 2 CLOSED

stucco avatar stucco commented on July 21, 2024
Show dates as human readable

from ui.

Comments (2)

jgoodall avatar jgoodall commented on July 21, 2024

Any field that matches field.indexOf("Date") !== -1 will automatically be converted to a UTC date string. This is done in the jade template. Commit: 9e8111f.

from ui.

gerth avatar gerth commented on July 21, 2024

I updated the UI (below) but am still seeing bigints of ms since epoch for startTime in Hone flows
which are the only nodes I know of with datetime values, e.g.
http://10.10.10.100:8000/flow/35584
...yields

Name 10.32.92.230:56649::69.42.215.170:6667
Description 10.32.92.230, port 56649 to 69.42.215.170, port 6667
startTime 1371770984855
totalPkts 11
source Hone
totalBytes 612

update with commit 9e8111f

root@stucco:# supervisorctl stop stucco-ui
stucco-ui: stopped
root@stucco:
# cd /stucco/ui
root@stucco:/stucco/ui# git pull
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 5 (delta 4), reused 5 (delta 4), pack-reused 0
Unpacking objects: 100% (5/5), done.
From https://github.com/stucco/ui
49a7153..9e8111f master -> origin/master
Updating 49a7153..9e8111f
Fast-forward
templates/includes/extraProps.jade | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
root@stucco:/stucco/ui# supervisorctl start stucco-ui
stucco-ui: started
root@stucco:/stucco/ui# exit

from ui.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.