Movatterモバイル変換


[0]ホーム

URL:


Log in / Register

dateutil

ENH: Infer datetime format string

Bug #1614518 reported bykernc_
This bug affects 1 person
AffectsStatusImportanceAssigned toMilestone
dateutil
New
Undecided
Unassigned

Bug Description

This is an enhancement request.

Provide an interface to return a datetime format string one can use with strptime()/strftime() (e.g. "%Y-%m-%d") that the dateutil.parser.parse() uses when parsing a datetime string.

E.g.

>>> dateutil.parser.parse_format('1999-12-09')
'%Y-%m-%d'
>>> dateutil.parser.parse_format('three days ago')
None

kernc_ (kernc)
description: updated
To post a comment you mustlog in.
This report containsPublic information 
Everyone can see this information.
      Subscribing...

      Other bug subscribers

      Remote bug watches

        Bug watches keep track of this bug in other bug trackers.

        Launchpad  • Take the tour  • Read the guide  
        © 2004Canonical Ltd.  • Terms of use  • Data privacy  • Contact Launchpad Support  • Blog  • Careers  • System status  •  e76edd8 (Get the code!)

        [8]ページ先頭

        ©2009-2025 Movatter.jp