About 4,150,000 results
Open links in new tab
  1. r - How to extract the correct timezones from POSIXct and POSIXlt ...

    @Koshke showed you already the difference in internal representation of both date types, and that internally, both timezone specifications are the same. You can get the timezone out in a …

  2. Time zones | Django documentation

    When USE_TZ is True, Django still accepts naive datetime objects, in order to preserve backwards-compatibility. When the database layer receives one, it attempts to make it aware …

  3. Convert pandas timezone-aware DateTimeIndex to naive …

    May 18, 2013 · You can use the function tz_localize to make a Timestamp or DateTimeIndex timezone aware, but how can you do the opposite: how can you convert a timezone aware …

  4. The Django admin site | Django documentation | Django

    The Django admin site ¶ One of the most powerful parts of Django is the automatic admin interface. It reads metadata from your models to provide a quick, model-centric interface …

  5. Using docker-compose to set containers timezones

    Aug 27, 2016 · I have a docker-compose file running a few Dockerfiles to create my containers. I don't want to edit my Dockerfiles to set timezones because they could change at any time by …

  6. How can I set the default timezone in Node.js? - Stack Overflow

    Unfortunately, setting process.env.TZ doesn't work really well - basically it's indeterminate when the change will be effective). So setting the system's timezone before starting node is your …

  7. python - Is there a list of Pytz Timezones? - Stack Overflow

    If you are on a Unix-like platform, I would suggest you avoid pytz and look just at /usr/share/zoneinfo. dateutil.tz can utilize the information there. The following piece of code …

  8. How do I set a timezone in my Jest config? - Stack Overflow

    May 22, 2019 · The issue is that by setting process.env.TZ at runtime, it will bleed across tests creating non-deterministic behavior (side effects) during a regular Jest test run. It may work if …

  9. datetime - Python Timezone conversion - Stack Overflow

    Jun 12, 2012 · I have found that the best approach is to convert the "moment" of interest to a utc-timezone-aware datetime object (in python, the timezone component is not required for …

  10. Converting timezones from pandas Timestamps - Stack Overflow

    Sep 2, 2014 · @user815423426 you need to tz_localize first (as mentioned at end of my answer), you can't convert to a timezone if you don't know what timezone you started in.