@cuchaz I see... *local* time means checking the env, and the env is a global mutable thing.
So I guess you need to check the locale at startup, cache that somewhere, and use that explicitly whenever you need to get the time...
@cuchaz I see... *local* time means checking the env, and the env is a global mutable thing.
So I guess you need to check the locale at startup, cache that somewhere, and use that explicitly whenever you need to get the time...
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.