Skip to content

Commit

Permalink
disgustify variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
chriku committed Aug 27, 2024
1 parent 47ba7f7 commit 8cf3ebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jira/src/main/kotlin/gropius/sync/jira/JiraSync.kt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ final class JiraSync(
/**
* Formatter for JQL dates
*/
val jqlFormatter = DateTimeFormatter.ofPattern("\"yyyy-MM-dd HH:mm\"")
val JQL_FORMATTER = DateTimeFormatter.ofPattern("\"yyyy-MM-dd HH:mm\"")
}

/**
Expand Down Expand Up @@ -217,7 +217,7 @@ final class JiraSync(
var query = "project=${imsProjectConfig.repo}"
if (lastSuccessfulSync != null) {
query = "project=${imsProjectConfig.repo} AND updated > ${
lastSuccessfulSync.atZoneSameInstant(userTimeZone).format(jqlFormatter)
lastSuccessfulSync.atZoneSameInstant(userTimeZone).format(JQL_FORMATTER)
}"
}
logger.info("With $lastSuccessfulSync, ${imsProjectConfig.repo} and $userTimeZone, the query is '$query'")
Expand Down

0 comments on commit 8cf3ebd

Please sign in to comment.