Hi! I am trying to change the timezone to my local time so that it would be easier for me to determine when a packages was generated. It is confusing sometimes when I have to convert from UTC to my local time. Is there a parameter or an environment variable that I can use to change to my local time instead of UTC?
I am asking about how to change the timestamp of the packages added to the repo from UTC to my localtime. The timestamp seems to be created by conda index and it is in UTC time.
Currently, there’s no way to accomplish that; conda index records the timestamp in repodata.json as a plain integer, so it has no (easy) way of recording the timezone associated with the timestamp. conda's solver, in turn, needs to be able to simply and reliably compare timestamps, as a fallback when (version + build number) is insufficient to choose between identically-named packages from different repositories/channels.
Note that while we almost surely will keep using UTC for timestamp storage, there’s no particular reason that conda and its associated commands/tools need to continuing displaying such information in UTC. If you think such functionality will be useful to a group of users, please feel free to open a issue on the conda and/or conda-build issue tracker.