Top "Tzinfo" questions

tzinfo is a Ruby timezone library to provide daylight savings aware transformations between times in different timezones.

Python timezone '%z' directive for datetime.strptime() not available

Using '%z' pattern of datetime.strptime() I have a string text that represent a date and I'm perfectly able …

python datetime tzinfo
TZInfo::DataSourceNotFound error starting Rails v4.1.0 server on Windows

I have created a new application using Ruby on Rails v4.1.0. When attempting to start a server or console on …

ruby-on-rails ruby ruby-on-rails-4.1 tzinfo
attribute 'tzinfo' of 'datetime.datetime' objects is not writable

How do I set the timezone of a datetime instance that just came out of the datastore? When it first …

python google-app-engine datetime tzinfo
How to Convert TZInfo identifier to Rails TimeZone name/key

How do you convert js values received as TZInfo identifiers to Rails TimeZone name/key? FROM: "America/New_York" returned …

ruby-on-rails ruby-on-rails-3 timezone activesupport tzinfo
Django AttributeError: 'str' object has no attribute 'tzinfo'

I am getting this error at the following code, when I try to get all the objects from my database: …

python mysql django tzinfo
Insert a tzinfo into datetime

I have the following tzinfo concrete subclass definition: from datetime import datetime, timedelta, tzinfo class ManilaTime(tzinfo): def utcoffset(self, …

python datetime timezone tzinfo
Printing correct time using timezones, Python

Extends Ok, we are not having a good day today. When you attach the correct tzinfo object to a datetime …

python datetime tzinfo
How to use datetime.tzinfo in Python?

I have no idea how to use datetime.tzinfo module. I have to convert a datetime data from UTC to …

python datetime timezone tzinfo