Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #65659

Re: datetime formatting output

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.042
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'bug': 0.12; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'igor': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'module': 0.19; 'meant': 0.20; 'feb': 0.22; 'to:name:python-list@python.org': 0.22; "haven't": 0.24; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'there,': 0.34; 'maybe': 0.34; 'could': 0.34; 'problem': 0.35; 'something': 0.35; 'no,': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'different': 0.65; 'p.s.:': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=+xuCs6VGM1+4cCZoydW7iCjSKGU6nSmkcRDJj3DrLrA=; b=ZqFO6pS2asvN9fQTuaFLu59ceoe+S30LPXpc/gdWJEZ9UVW/1lXFASljnagH21oYiU M6TRYqJi19M9qX9AvYtTthlIDFgA7dCa1clFZO4aHnrgP61AQcy5R9ngxNLwlhzl8wHB Hoi5jtI9xgFNQMdTKeOhjjkJb7iKuHhfD9dwyy1/0hITTtnUOPyxcbuecojhVSB6EGZv 2rmiqFkTBk/6BEKAI0IyoTIesW+gE5dVCOsUwJ2wPT5FU2qHw0O6EKVnH6tBxK/N7TEL v6qn/jGRVeppneBCE0x61+hIydiwBPeh8yTI9pdAQ6SfqXPQ9XIZuhnFnK5uDJ7oBZPB jTNQ==
MIME-Version 1.0
X-Received by 10.68.234.230 with SMTP id uh6mr470854pbc.161.1391850648411; Sat, 08 Feb 2014 01:10:48 -0800 (PST)
In-Reply-To <CA+FnnTx0hd2zfQHy0tdO+1NzJy74PPKZWrPN8dz-Dknz2GG17Q@mail.gmail.com>
References <CA+FnnTzV5kSJm=n0MiX6AVfnHnF4v3qq4sDT3cGnMJOxta3BZw@mail.gmail.com> <CAPTjJmqtwttJ8k2XOqoFe0QybkBQwVtw_P944y-1Cm2etqn=_A@mail.gmail.com> <CA+FnnTx0hd2zfQHy0tdO+1NzJy74PPKZWrPN8dz-Dknz2GG17Q@mail.gmail.com>
Date Sat, 8 Feb 2014 20:10:48 +1100
Subject Re: datetime formatting output
From Chris Angelico <rosuav@gmail.com>
To "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.6533.1391850657.18130.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1391850657 news.xs4all.nl 2844 [2001:888:2000:d::a6]:38239
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:65659

Show key headers only | View raw


On Sat, Feb 8, 2014 at 8:06 PM, Igor Korot <ikorot01@gmail.com> wrote:
> P.S.: Maybe its a problem with the datetime module which formats the
> datetime incorrectly?

No, I'm pretty sure datetime.datetime really is meant to be working
with microseconds. I'm not very familiar with MySQLdb, haven't used it
in years; it could be a bug there, or it could be something different
again.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: datetime formatting output Chris Angelico <rosuav@gmail.com> - 2014-02-08 20:10 +1100

csiph-web