Skip to content

Commit

Permalink
[BUGFIXED]-Job submission details
Browse files Browse the repository at this point in the history
  • Loading branch information
ndasanayaka committed Jun 17, 2024
1 parent 909b112 commit dd9187f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions src/views/AdminJobs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
{ text: 'Slurm Jobid', value: 'jobid' },
{ text: 'Jobname', value: 'jobname' },
{ text: 'Status', value: 'status' },
{ text: 'Submitted', value: 'submitted' },
{ text: 'Start', value: 'start' },
{ text: 'End', value: 'end' },
{ text: 'Total', value: 'total' },
Expand Down Expand Up @@ -152,13 +153,22 @@
let job = this.jobs[i]
if(job.start) {
// convert to local timezone
console.log("job.start")
console.log(job.start)
job.start = new Date(Date.parse(job.start) + new Date().getTimezoneOffset())
console.log(job.start)
// ot string
job.start = job.start.toLocaleString()
console.log(job.start)
}
if(job.end){
console.log("job.end")
console.log(job.end)
job.end = new Date(Date.parse(job.end) + new Date().getTimezoneOffset())
console.log(job.end)
job.end = job.end.toLocaleString()
console.log(job.end)
}
}
this.loading = false
Expand Down
4 changes: 2 additions & 2 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
pre-process and deconvolve datasets on the <a href="https://rcc.uq.edu.au/wiener">Wiener High Performance Cluster</a>.
<p/>

<h3>Notices</h3>
<!-- <h3>Notices</h3>
Scheduled maintenance occurs on the first Tuesday of the second month of each quarter (i know, confusing right!!!)<br />
Last reported downtime: 31st August 2021 <br /> <p/>
<p/>
<p/> -->



Expand Down
1 change: 1 addition & 0 deletions src/views/Jobshistory.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
{ text: 'Slurm Jobid', value: 'jobid' },
{ text: 'Jobname', value: 'jobname' },
{ text: 'Status', value: 'status' },
{ text: 'Submitted', value: 'submitted' },
{ text: 'Start', value: 'start' },
{ text: 'End', value: 'end' },
{ text: 'Total', value: 'total' },
Expand Down

0 comments on commit dd9187f

Please sign in to comment.