Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"version": "kc-mission-v1",
"name": "harbor-16730-make-time-format-configurable",
"missionClass": "solution",
"author": "KubeStellar Bot",
"authorGithub": "kubestellar",
"mission": {
"title": "harbor: Make time format configurable",
"description": "Make time format configurable. Requested by 9+ users.",
"type": "feature",
"status": "completed",
"steps": [
{
"title": "Check current harbor deployment",
"description": "Verify your harbor version and configuration:\n```bash\nkubectl get pods -n harbor -l app.kubernetes.io/name=harbor\nhelm list -n harbor 2>/dev/null || echo \"Not installed via Helm\"\n```\nThis feature requires a working harbor installation."
},
{
"title": "Review harbor configuration",
"description": "Inspect the relevant harbor configuration:\n```bash\nkubectl get all -n harbor -l app.kubernetes.io/name=harbor\nkubectl get configmap -n harbor -l app.kubernetes.io/part-of=harbor\n```\nWhen I inspect the repositories in a project, they are listed with a \"Last modified time\" column. The timestamps are using the American format to display time and date, which is very confusing to the rest of the world."
},
{
"title": "Configure time format in Harbor settings",
"description": "After upgrading to a Harbor version that supports configurable time formats:\n```bash\n# Check current Harbor system configuration\ncurl -u admin:Harbor12345 \\\n 'https://<harbor-host>/api/v2.0/configurations' | jq '.time_format'\n```\nConfigure the time format via the Harbor web UI under Administration > Configuration, or via the API:\n```bash\ncurl -u admin:Harbor12345 -X PUT \\\n 'https://<harbor-host>/api/v2.0/configurations' \\\n -H 'Content-Type: application/json' \\\n -d '{\"time_format\": \"YYYY-MM-DD HH:mm:ss\"}'\n```"
},
{
"title": "Upgrade harbor to include the fix",
"description": "If the fix is included in a newer release, upgrade harbor:\n```bash\nhelm repo update\nhelm upgrade harbor harbor/harbor --namespace harbor\n```\nVerify the upgrade:\n```bash\nkubectl get pods -n harbor\nhelm list -n harbor\n```"
},
{
"title": "Verify the feature works",
"description": "Test that the new capability is working as expected:\n```bash\nkubectl get pods -n harbor -l app.kubernetes.io/name=harbor\nkubectl get events -n harbor --sort-by='.lastTimestamp' | tail -10\n```\nConfirm the feature described in \"Make time format configurable\" is functioning correctly."
}
],
"resolution": {
"summary": "Harbor uses locale-derived date/time formats that can be ambiguous (e.g., MM/DD/YYYY vs DD/MM/YYYY in en-US). This feature request asks for configurable time format support so administrators can set an explicit, unambiguous format like ISO 8601 (YYYY-MM-DD HH:MM:SS). The improvement adds a time format configuration option in Harbor's system settings.",
"codeSnippets": []
}
},
"metadata": {
"tags": [
"harbor",
"graduated",
"security",
"feature"
],
"cncfProjects": [
"harbor"
],
"targetResourceKinds": [],
"difficulty": "beginner",
"issueTypes": [
"feature"
],
"maturity": "graduated",
"sourceUrls": {
"issue": "https://github.com/goharbor/harbor/issues/16730",
"repo": "https://github.com/goharbor/harbor",
"pr": "https://github.com/goharbor/harbor/pull/16796"
},
"reactions": 9,
"comments": 5,
"synthesizedBy": "copilot"
},
"prerequisites": {
"kubernetes": ">=1.24",
"tools": [
"kubectl",
"helm"
],
"description": "A running Kubernetes cluster with harbor installed or the issue environment reproducible."
},
"security": {
"scannedAt": "2026-03-13T06:19:32.843Z",
"scannerVersion": "cncf-gen-3.0.0",
"sanitized": true,
"findings": []
}
}
Loading