From 04ba6663ee1d43ef0b5110d83acfb861ae4a78f7 Mon Sep 17 00:00:00 2001 From: svk Date: Fri, 6 Feb 2026 13:31:38 +0300 Subject: [PATCH] =?UTF-8?q?changelog-gen:=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=B8=D0=BB=20=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=82=20?= =?UTF-8?q?=D0=B4=D0=B0=D1=82=D1=8B=20=D0=B4=D0=BB=D1=8F=20=D1=81=D0=BE?= =?UTF-8?q?=D1=85=D1=80=D0=B0=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog-gen.tcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/changelog-gen.tcl b/changelog-gen.tcl index 521f08b..04d60ad 100755 --- a/changelog-gen.tcl +++ b/changelog-gen.tcl @@ -113,7 +113,7 @@ proc StoreProjectInfo {timeStamp changelogFormat} { puts $cfgFile "# set args(--project-release) \"$args(--project-release)\"" puts $cfgFile "set lastCommitTimeStamp \"$timeStamp\"" puts $cfgFile "set lastCommitTimeStampSec [clock scan $timeStamp]" - close $cfgFile + close $cfgFile } @@ -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"