Rclone shows wrong time in termux

What is the problem you are having with rclone?

Rclone in Termux is showing wrong time in logs.
it shows UTC time instead of local time.

What is your rclone version (output from rclone version)

rclone 1.57.0-termux
- os/version: unknown
- os/kernel: 3.18.140-lineageos-g88da139fc53e-dirty (aarch64)
- os/type: android
- os/arch: arm64
- go/version: go1.17.2
- go/linking: dynamic
- go/tags: noselfupdate

The command you were trying to run (eg rclone copy /tmp remote:tmp)

~ $ rclone lsd . -vv
2021/12/13 13:04:54 DEBUG : rclone: Version "1.57.0-termux" starting with parameters ["rclone" "lsd" "." "-vv"]
2021/12/13 13:04:54 DEBUG : Creating backend with remote "."
2021/12/13 13:04:54 DEBUG : Using config file from "/data/data/com.termux/files/home/.config/rclone/rclone.conf"
2021/12/13 13:04:54 DEBUG : fs cache: renaming cache item "." to be canonical "/data/data/com.termux/files/home"
          -1 2021-11-10 17:16:52        -1 .android
          -1 2021-12-12 19:00:23        -1 .cache
          -1 2021-12-10 17:52:03        -1 .calibre-web
          -1 2021-12-09 13:48:34        -1 .config                                       -1 2021-11-29 10:08:36        -1 .local
          -1 2021-12-13 12:53:01        -1 .mcfly
          -1 2021-12-02 16:43:59        -1 .shortcuts
          -1 2021-12-11 05:26:55        -1 .ssh
          -1 2021-12-12 13:22:07        -1 .suroot
          -1 2021-12-09 14:05:50        -1 .termux
          -1 2021-11-28 11:14:11        -1 Downloads
          -1 2021-11-16 08:05:03        -1 Termux-dotfiles
          -1 2021-11-26 06:27:57        -1 bin
          -1 2021-11-30 16:41:24        -1 downloads
          -1 2021-11-26 15:42:22        -1 logs
          -1 2021-11-10 17:16:52        -1 lrc_kit
          -1 2021-11-30 16:30:13        -1 organize
          -1 2021-11-10 17:17:50        -1 storage
2021/12/13 13:04:54 DEBUG : 2 go routines active
~ $ date
Mon Dec 13 18:36:30 IST 2021
~ $

Looks to be a termux issue with GO Apps.

Wrong timezone in Go · Issue #2622 · termux/termux-packages (github.com)

yeah it seems to issue with termux, there seems to be a temporary solution by adding some code.

is it could be done ?

I don't think so as it's an upstream issue, but that's just my guess.

@ncw can give his thoughts on it and confirm.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.