summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 0b4729c..a1b2cfc 100755
--- a/build.sh
+++ b/build.sh
@@ -131,7 +131,7 @@ build_tarball() {
build_metadata() {
local stat=`stat -c %Y $rootfs`
- local date="`date -R -d \"@${stat}\"`"
+ local date="`date -d \"@${stat}\" +%F`"
if test ${subarch} = generic; then
local arch_lxd=${arch}
@@ -144,7 +144,7 @@ architecture: "$arch_lxd"
creation_date: $(date +%s)
properties:
architecture: "$arch_lxd"
- description: "OpenWrt $ver $arch_lxd ($date)"
+ description: "OpenWrt $ver ($date)"
os: "OpenWrt"
release: "$ver"
templates: