noxz-sites

A collection of a builder and various scripts creating the noxz.tech sites
git clone https://noxz.tech/git/noxz-sites.git
Log | Files | README | LICENSE

commit: dad7381cf9660acd82f60a0b5a15dab6e0f55ab4
parent: 69592ea147221b02c07454242f7d5463fded0645
author: Chris Noxz <chris@noxz.tech>
date:   Sat, 25 Jun 2022 18:17:01 +0200
change git date format
Mbuild4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build b/build
@@ -602,7 +602,7 @@ render_git() {
 				"${git_pp}"                                                 \
 				"${git_description}"                                        \
 				"${git_owner}"                                              \
-				"$(git -C "${repo}" log -1 --date=format:"%Y-%m-%d %T" --format=%ad)")
+				"$(git -C "${repo}" log -1 --date=format:"%Y-%m-%d %T" --format=%ai)")
 
 		[ -f "$repo/fork" ]                                                 \
 			&& git_forks="$(printf '%s%s' "${git_forks}" "${git_buffer}")"  \
@@ -669,7 +669,7 @@ render_git_commits() {
 		git -C "${repo}" log -n "${SITE_GIT_COMMIT_COUNT}"                  \
 			--no-merges                                                     \
 			--date="format:%Y-%m-%d %H:%M:%S"                               \
-			--pretty="format:%at:%ad [$a] %s"
+			--pretty="format:%at:%ai [$a] %s"
 		echo
 	done                                                                    \
 	| sort -r                                                               \