[Bug 290328] libxo produces invalid json if locale has decimal separator set to comma
Date: Fri, 31 Oct 2025 16:25:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290328
Mark Johnston <markj@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markj@FreeBSD.org
--- Comment #3 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Sulev-Madis Silber from comment #2)
Where is the problem? The uptime-human field looks mangled, but that's
probably not a libxo bug.
$ env LANG=de_DE.ISO8859-15 uptime --libxo=json,pretty
{
"__version": "1",
"uptime-information": {
"time-of-day": " 4:24PM",
"uptime": 2406037,
"days": 27,
"hours": 20,
"minutes": 20,
"seconds": 37,
"uptime-human": " 27 days, 20:21,",
"users": 18,
"load-average-1": 0.22,
"load-average-5": 0.21,
"load-average-15": 0.11
}
}
--
You are receiving this mail because:
You are the assignee for the bug.