meefik / busybox

BusyBox for Android
https://meefik.github.io/busybox
GNU General Public License v2.0
1.46k stars 258 forks source link

Timezone Support #82

Open jacko9000 opened 5 years ago

jacko9000 commented 5 years ago

Hi,

I'm rooted and on Android 9 (LineageOS v16.0-20190807-nightly-beryllium-signed, to be precise).

BusyBox installed fine, but when I run:

busybox date

I get:

Wed Sep 11 18:57:40 GMT 2019

but what I should get, is:

Wed Sep 11 19:57:40 BST 2019

as I live in the UK, where British Summer Time (BST) is the current timezone until 27th October, 2019 at 0200, when it returns to Greenwich Mean Time (GMT), and the time goes back by one hour, as shown above.

Please can you add timezone support to your BusyBox build.

In the meantime, I have downgraded to jrummy's BusyBox v1.26.2, which displays the correct time and timezone. Unfortunately, it doesn't appear to be being maintained anymore, as the most recent build was on 27th October, 2017.

So I would like to upgrade to your BusyBox build, but not having the correct date and time would break my scripts.

Your help would be much appreciated. Thanks.

Regards, Jacko