Skip to content

Commit

Permalink
Fix the issue where the value of ${run_date} is one day smaller than …
Browse files Browse the repository at this point in the history
…the actual value
  • Loading branch information
liaowenlen committed Oct 31, 2024
1 parent 7763834 commit a19f9a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ object DateTypeUtils {
val dateFormat = dateFormatLocal.get()
val dateFormat_std = dateFormatStdLocal.get()
val cal: Calendar = Calendar.getInstance()
cal.add(Calendar.DATE, -1)
// cal.add(Calendar.DATE, -1)
if (std) {
dateFormat_std.format(cal.getTime)
} else {
Expand Down

0 comments on commit a19f9a9

Please sign in to comment.