changelog-gen: исправил формат даты для сохранения

This commit is contained in:
svk
2026-02-06 13:31:38 +03:00
parent 676a0e6185
commit 04ba6663ee

View File

@@ -188,11 +188,11 @@ proc GenerateChangelogRPM {} {
if {$lastCommitTimeStamp eq ""} {
set lastCommitTimeStamp [string trim [lindex $record 1]]
}
set timeStamp [clock format [clock scan $timeStamp] -format {%a %e %b %Y}]
set timeStamp [clock format [clock scan $timeStamp] -format {%a, %e %b %Y %H:%M:%S %z}]
if {$index == 0} {
set commiter [lindex $record 2]
append outText "$timeStamp [string trim $commiter] <$email> $args(--project-version)-$args(--project-release)\n"
StoreProjectInfo $timeStamp "deb"
StoreProjectInfo $timeStamp "rpm"
}
if {$commiter ne [lindex $record 2]} {
append outText "\n"