jc7447/BetterDynAdmin

Scheduler - Timeline

Closed this issue · 6 comments

Visualize in a timeline the next jobs to be run, and the previous jobs
use vis timeline capabilities

done;

I tested this with an ATG 11.1 instance with a bunch of scheduler (jms poll, pricing engines, ...), but the timeline is empty :

timeline

hmm I dev'd it on V11.1

Any js logs?

No logs, but after digging a bit I found that the date format seems to be not recognized.

I have date like this : Sat Sep 10 12:09:30 CEST 2016

console.log(new Date("Sat Sep 10 12:09:30 CEST 2016"))

output this : Date {Invalid Date}

Hmm. I don't have a runnable ATG from home, could you send me the html of the page?

(actually I've been collecting html pages to do "offline" work, we could add those as mock pages to the git repo)

just commited a fix. looks like "Date(string)" works better than "new Date(string)"