1
0
mirror of https://github.com/rclone/rclone.git synced 2026-02-17 09:59:10 +00:00
Files
rclone/fs
nielash 66929416d4 lsf: add --time-format flag
Before this change, lsf's time format was hard-coded to "2006-01-02 15:04:05",
regardless of the Fs's precision. After this change, a new optional
--time-format flag is added to allow customizing the format (the default is
unchanged).

Examples:
	rclone lsf remote:path --format pt --time-format 'Jan 2, 2006 at 3:04pm (MST)'
	rclone lsf remote:path --format pt --time-format '2006-01-02 15:04:05.000000000'
	rclone lsf remote:path --format pt --time-format '2006-01-02T15:04:05.999999999Z07:00'
	rclone lsf remote:path --format pt --time-format RFC3339
	rclone lsf remote:path --format pt --time-format DateOnly
	rclone lsf remote:path --format pt --time-format max

--time-format max will automatically truncate '2006-01-02 15:04:05.000000000'
to the maximum precision supported by the remote.
2024-01-20 14:50:08 -05:00
..
2022-11-07 11:41:47 +00:00
2024-01-20 14:50:08 -05:00
2023-08-22 12:52:13 +01:00
2023-10-23 15:43:55 +01:00
2018-08-21 10:58:59 +01:00
2023-11-16 17:15:00 +00:00
2023-11-26 17:14:38 +00:00