On Mar 7, 5:26 pm, [EMAIL PROTECTED] wrote:
> On Mar 7, 4:22 pm, [EMAIL PROTECTED] wrote:
> [snip]> Although if I end up writing my own I'll sure use
> > datetime.parser.parse to get everything left over once you remove
>
> I mean dateutil.parser.parse. Tomorrow I'll have to leave off the last
> Lu
[EMAIL PROTECTED] writes:
>I'm new to python and I was wondering if there are any intelligent
>date/time parsing modules out there. I've looked at strptime (or
>whichever it is) and mxDateTime from the eGenix package. I need
>something to parse user input for a django app,
On Mar 8, 12:57 pm, Tim Chase <[EMAIL PROTECTED]> wrote:
> > I am a GNU newbie. (I know C &o.) Can you point me to a
> > place to find the source for 'date'?
>
> It's part of the GNU Coreutils:
>
> http://ftp.gnu.org/gnu/coreutils/
>
> Within the file, you're likely interested in lib/getdate.*
>
> I am a GNU newbie. (I know C &o.) Can you point me to a
> place to find the source for 'date'?
It's part of the GNU Coreutils:
http://ftp.gnu.org/gnu/coreutils/
Within the file, you're likely interested in lib/getdate.*
It helps if you have a working knowledge of Yacc.
-tkc
--
http://ma
On Mar 7, 9:23 pm, [EMAIL PROTECTED] wrote:
> I figured I might as well share the code I ended up using, in case
> anyone else wants an easy way to get strings to, for instance, SQL-
> storable datetimes.
>
> [EMAIL PROTECTED]:~$ cat test.py
> #!/usr/bin/python
> from datetime import datetime
> imp
I figured I might as well share the code I ended up using, in case
anyone else wants an easy way to get strings to, for instance, SQL-
storable datetimes.
[EMAIL PROTECTED]:~$ cat test.py
#!/usr/bin/python
from datetime import datetime
import subprocess
def parsedate( date ):
p = subprocess.P
On Mar 7, 5:00 pm, [EMAIL PROTECTED] wrote:
> On Mar 7, 4:35 pm, Jeffrey Froman <[EMAIL PROTECTED]> wrote:
>
> > [EMAIL PROTECTED] wrote:
> > > I need
> > > something to parse user input for a django app, and it's awesome to be
> > > able to write "last monday", "a year ago", or "10pm tuesday" like
On Mar 7, 4:35 pm, Jeffrey Froman <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > I need
> > something to parse user input for a django app, and it's awesome to be
> > able to write "last monday", "a year ago", or "10pm tuesday" like
> > PHP's strtotime.
>
> Django comes with some pretty
On Mar 7, 4:33 pm, Carl Banks <[EMAIL PROTECTED]> wrote:
> On Mar 7, 5:08 pm, [EMAIL PROTECTED] wrote:
>
> > I'm new to python and I was wondering if there are any intelligent
> > date/time parsing modules out there. I've looked at strptime (or
> > whichev
[EMAIL PROTECTED] wrote:
> I need
> something to parse user input for a django app, and it's awesome to be
> able to write "last monday", "a year ago", or "10pm tuesday" like
> PHP's strtotime.
Django comes with some pretty handy filters for doing this sort of
formatting. Check out the "date", "n
On Mar 7, 5:08 pm, [EMAIL PROTECTED] wrote:
> I'm new to python and I was wondering if there are any intelligent
> date/time parsing modules out there. I've looked at strptime (or
> whichever it is) and mxDateTime from the eGenix package. I need
> something to parse user
On Mar 7, 4:22 pm, [EMAIL PROTECTED] wrote:
[snip]
> Although if I end up writing my own I'll sure use
> datetime.parser.parse to get everything left over once you remove
I mean dateutil.parser.parse. Tomorrow I'll have to leave off the last
Lunchtime Guiness.
> strings like "this saturday". So it
On Mar 7, 4:10 pm, Mike Driscoll <[EMAIL PROTECTED]> wrote:
> On Mar 7, 4:08 pm, [EMAIL PROTECTED] wrote:
>
> > I'm new to python and I was wondering if there are any intelligent
> > date/time parsing modules out there. I've looked at strptime (or
> >
On Mar 7, 4:10 pm, Mike Driscoll <[EMAIL PROTECTED]> wrote:
> On Mar 7, 4:08 pm, [EMAIL PROTECTED] wrote:
>
> > I'm new to python and I was wondering if there are any intelligent
> > date/time parsing modules out there. I've looked at strptime (or
> >
On Mar 7, 4:08 pm, [EMAIL PROTECTED] wrote:
> I'm new to python and I was wondering if there are any intelligent
> date/time parsing modules out there. I've looked at strptime (or
> whichever it is) and mxDateTime from the eGenix package. I need
> something to parse user
On Mar 7, 4:08 pm, [EMAIL PROTECTED] wrote:
> I'm new to python and I was wondering if there are any intelligent
> date/time parsing modules out there. I've looked at strptime (or
> whichever it is) and mxDateTime from the eGenix package. I need
> something to parse user
I'm new to python and I was wondering if there are any intelligent
date/time parsing modules out there. I've looked at strptime (or
whichever it is) and mxDateTime from the eGenix package. I need
something to parse user input for a django app, and it's awesome to be
able to write &q
17 matches
Mail list logo