fix lib basic_apt when no LC_TIME but have LC_ALL