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: 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: References: Date: Sat, 8 Feb 2014 20:10:48 +1100 Subject: Re: datetime formatting output From: Chris Angelico To: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Sat, Feb 8, 2014 at 8:06 PM, Igor Korot 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