Results 1 to 3 of 3

Thread: Wrong start time displayed for steps - Spring Batch Admin

  1. #1
    Join Date
    Jun 2005
    Posts
    14

    Default Wrong start time displayed for steps - Spring Batch Admin

    Hi guys,

    My testers told me the SBA-gui (1.2.2-RELEASE) is displaying incorrect start time for Steps (I'm on GMT+1). This seem to be a semi-known issue fixed for jobs (https://jira.springsource.org/browse/BATCHADM-29) but my guess is that the fix is not implemented for steps. The following code can be found in StepExecutionController

    Code:
    for (StepExecution stepExecution : jobService.getStepExecutions(jobExecutionId)) {
        result.add(new StepExecutionInfo(stepExecution, TimeZone.getTimeZone("GMT")));
    }
    JobExecution jobExecution = jobService.getJobExecution(jobExecutionId);
    model.addAttribute(new JobExecutionInfo(jobExecution, timeZone));
    The hard coded "GMT" seem to ruin my day. Should I raise a JIRA-issue?

    br
    Svante

  2. #2
    Join Date
    Sep 2008
    Location
    Chicagoland, IL
    Posts
    349

    Default

    Yes, please log a new Jira issue.
    Michael Minella
    Spring Batch Lead
    Author - Pro Spring Batch
    http://www.michaelminella.com
    Twitter: @MichaelMinella

  3. #3
    Join Date
    Jun 2005
    Posts
    14

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •