[issue1029] Problem with time parsing

Dirkjan Ochtman mercurial-bugs at selenic.com
Tue Mar 11 11:12:36 CDT 2008


New submission from Dirkjan Ochtman <dirkjan at ochtman.nl>:

djc at darwin crew $ hg version
Mercurial Distributed SCM (version 673d8a6bc709)

Copyright (C) 2005-2008 Matt Mackall <mpm at selenic.com> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
djc at darwin crew $ hg debugdate "12:34"
internal: 1199187240 -3600
standard: Tue Jan 01 12:34:00 2008 +0100
djc at darwin crew $ hg help dates
Date Formats

    Some commands allow the user to specify a date:
    backout, commit, import, tag: Specify the commit date.
    log, revert, update: Select revision(s) by date.

    Many date formats are valid. Here are some examples:

    "Wed Dec 6 13:18:29 2006" (local timezone assumed)
    "Dec 6 13:18 -0600" (year assumed, time offset provided)
    "Dec 6 13:18 UTC" (UTC and GMT are aliases for +0000)
    "Dec 6" (midnight)
    "13:18" (today assumed) <<---
    "3:39" (3:39AM assumed)

----------
assignedto: djc
messages: 5563
nosy: djc, mpm
priority: bug
status: unread
title: Problem with time parsing

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1029>
____________________________________________________



More information about the Mercurial-devel mailing list