syncthing/lib/ur
Jakob Borg 4d979a1ce9
all: Truncate some timestamps (fixes #7457) (#7459)
This truncates times meant for API consumption to second precision,
where fractions won't typically matter or add any value. Exception to
this is timestamps on logs and events, and of course I'm not touching
things like file metadata.

I'm not 100% certain this is an exhaustive change, but it's the things I
found by grepping and following the breadcrumbs from lib/api...

I also considered general-but-ugly solutions, like having the API
serializer itself do reflection magic or even regexps on returned
objects, but decided against it because aurgh...
2021-03-12 10:35:10 +01:00
..
contract cmd/ursrv, lib/ur: Collect and present encryption usage (#7448) 2021-03-10 22:26:56 +00:00
debug.go all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
failurereporting.go all: Failure reporting fixes (#7331) 2021-02-05 11:21:14 +01:00
memsize_darwin.go lib/ur: Normalise contract between syncthing and ursrv (#6770) 2020-06-23 09:47:15 +01:00
memsize_linux.go lib/ur: Plug file descriptor leak in Linux memorySize (#7266) 2021-01-11 15:15:21 +01:00
memsize_netbsd.go lib/ur: Normalise contract between syncthing and ursrv (#6770) 2020-06-23 09:47:15 +01:00
memsize_solaris.go lib/ur: Normalise contract between syncthing and ursrv (#6770) 2020-06-23 09:47:15 +01:00
memsize_unimpl.go lib/ur: Normalise contract between syncthing and ursrv (#6770) 2020-06-23 09:47:15 +01:00
memsize_windows.go lib/ur: Normalise contract between syncthing and ursrv (#6770) 2020-06-23 09:47:15 +01:00
usage_report.go all: Truncate some timestamps (fixes #7457) (#7459) 2021-03-12 10:35:10 +01:00