summaryrefslogtreecommitdiffstats
path: root/routers/api/packages/composer/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/packages/composer/api.go')
-rw-r--r--routers/api/packages/composer/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/packages/composer/api.go b/routers/api/packages/composer/api.go
index 45bb7eae1c..ed52d16513 100644
--- a/routers/api/packages/composer/api.go
+++ b/routers/api/packages/composer/api.go
@@ -99,7 +99,7 @@ func createPackageMetadataResponse(registryURL string, pds []*packages_model.Pac
Name: pd.Package.Name,
Version: pd.Version.Version,
Type: packageType,
- Created: time.Unix(int64(pd.Version.CreatedUnix), 0),
+ Created: pd.Version.CreatedUnix.AsLocalTime(),
Metadata: pd.Metadata.(*composer_module.Metadata),
Dist: Dist{
Type: "zip",