http://hg.code.sf.net:8000/p/roundup/code/atom-log/tip/roundup/date.py Mercurial Repository: p/roundup/code: roundup/date.py history 2026-04-08T21:39:40-04:00 chore: remove __future print_funcion from code. http://hg.code.sf.net:8000/p/roundup/code/#changeset-9c3ec0a5c7fc88acb8a65632ecc13b2d52380314 John Rouillard rouilj@ieee.org 2026-04-08T21:39:40-04:00 2026-04-08T21:39:40-04:00
changeset 9c3ec0a5c7fc
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description chore: remove __future print_funcion from code.

Not needed as of Python 3.
files
refactor: mke Date class use __slots__ http://hg.code.sf.net:8000/p/roundup/code/#changeset-a73ac3752ac5ed62c07a4abc921b93e71fba2742 John Rouillard rouilj@ieee.org 2025-11-03T12:42:48-05:00 2025-11-03T12:42:48-05:00
changeset a73ac3752ac5
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description refactor: mke Date class use __slots__

This should be the last slotting for a while.

Instrumenting roundup-admin and the Client class (running under the
waitress wsgi server) shows object count output similar to:

[(('IssueClass', 'roundup.backends.back_anydbm'), 128),
(('Session', 'roundup.cgi.client'), 128),
(('Mailer', 'roundup.mailer'), 128),
(('Password', 'roundup.password'), 220),
(('LiberalCookie', 'roundup.cgi.client'), 241),
(('Database', 'roundup.backends.back_anydbm'), 256),
(('FileClass', 'roundup.backends.back_anydbm'), 256),
(('Number', 'roundup.hyperdb'), 256),
(('PythonExpr', 'roundup.cgi.PageTemplates.PythonExpr'), 274),
(('Proptree', 'roundup.hyperdb'), 276),
(('Role', 'roundup.security'), 384),
(('PathExpr', 'roundup.cgi.PageTemplates.Expressions'), 630),
(('Class', 'roundup.backends.back_anydbm'), 640),
(('SubPathExpr', 'roundup.cgi.PageTemplates.Expressions'), 645),
(('Date', 'roundup.hyperdb'), 678),
(('Link', 'roundup.hyperdb'), 934),
(('Multilink', 'roundup.hyperdb'), 1024),
(('Permission', 'roundup.security'), 6784),
(('TruthDict', 'roundup.support'), 6795),
(('PrioList', 'roundup.support'), 8192),
(('Date', 'roundup.date'), 8610)]

where each row is a tuple of (class, module) and the count of
the number of object of that class sorted by number of objects.

I think the major classes that meet the criteria below are all
__slotted__ at this point:

Is a native roundup class and not a subclass (e.g. LiberalCookie is
subclass of http.cookies.SimpleCookie)
Does not touch the database (not hyperdb or backend)
Is not part of templating
Is not a top level class that may need runtime attributes/methods
overwritten e.g Session/Mailer/Password

Some of the excluded classes can be slotted, but they are not low
hanging fruit and requires more class heirarchy changes or more
extensive testing.
files
fix: issue2551390 - Replace text input/calendar popup with native date input http://hg.code.sf.net:8000/p/roundup/code/#changeset-2bf0c4e7795e383a6722e70d071361bb3db45b2c John Rouillard rouilj@ieee.org 2025-01-18T12:23:23-05:00 2025-01-18T12:23:23-05:00
changeset 2bf0c4e7795e
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description fix: issue2551390 - Replace text input/calendar popup with native date input

Docs, code and test changes for the changeover to a native date
element.

See issue for details.
files
fix: issue2551278 - datetime.datetime.utcnow deprecation. http://hg.code.sf.net:8000/p/roundup/code/#changeset-8f29e4ea05ce7ac8e19f5a1e93856878b5e1fd21 John Rouillard rouilj@ieee.org 2023-07-25T16:30:10-04:00 2023-07-25T16:30:10-04:00
changeset 8f29e4ea05ce
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description fix: issue2551278 - datetime.datetime.utcnow deprecation.

Replace calls with equivalent that produces timezone aware dates
rather than naive dates.

Also some flake8 fixes for test/rest_common.py.
files
flake8 undefined symbol fixes. http://hg.code.sf.net:8000/p/roundup/code/#changeset-c27276e0bdce8e7ce3a7b45405b6d659c9c06d5b John Rouillard rouilj@ieee.org 2022-08-31T22:55:19-04:00 2022-08-31T22:55:19-04:00
changeset c27276e0bdce
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description flake8 undefined symbol fixes.
files
Fix issue2551128 - Impossible to validate a user with unknown timezone http://hg.code.sf.net:8000/p/roundup/code/#changeset-d76291836523c09e773142f598527c0afbc16a2c John Rouillard rouilj@ieee.org 2021-04-18T17:39:44-04:00 2021-04-18T17:39:44-04:00
changeset d76291836523
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Fix issue2551128 - Impossible to validate a user with unknown timezone

Raise KeyError when an unrecognized timezones is passed to
pytz. (patch Cedric Krier, test John Rouillard)
files
pep8 changes, http://hg.code.sf.net:8000/p/roundup/code/#changeset-69b1aaf9c51f9c9744a9b0e5f4ff0782603b51dd John Rouillard rouilj@ieee.org 2020-06-08T20:27:57-04:00 2020-06-08T20:27:57-04:00
changeset 69b1aaf9c51f
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description pep8 changes,
files
More invalid escape sequence fixes. http://hg.code.sf.net:8000/p/roundup/code/#changeset-7d276bb8b46d45ce0188084cf86444388c73af9a John Rouillard rouilj@ieee.org 2019-06-12T21:32:46-04:00 2019-06-12T21:32:46-04:00
changeset 7d276bb8b46d
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description More invalid escape sequence fixes.
files
Try to fix: http://hg.code.sf.net:8000/p/roundup/code/#changeset-936275dfe1fa590784a6a19bee12297f094b0d06 John Rouillard rouilj@ieee.org 2019-06-12T20:34:47-04:00 2019-06-12T20:34:47-04:00
changeset 936275dfe1fa
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Try to fix:

DeprecationWarning: invalid escape sequence \d
DeprecationWarning: invalid escape sequence \s
DeprecationWarning: invalid escape sequence \)

Strings under python 3 are unicode strings rather then "regular"
strings as under python 2. So all regexps need to be raw strings.
We will see how many I fixed and if I broke any.
files
Add two isoformat() methods. One for Date and one for Interval. http://hg.code.sf.net:8000/p/roundup/code/#changeset-43970d92323eb8b9e8f9d5e39e4de435378476ec John Rouillard rouilj@ieee.org 2019-03-08T21:32:57-05:00 2019-03-08T21:32:57-05:00
changeset 43970d92323e
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description Add two isoformat() methods. One for Date and one for Interval.

This permits the dicttoxml library to print these data types.
The dicttoxml library is optional and can be used by the rest
interface to support xml output.
files
Python 3 preparation: avoid basestring. http://hg.code.sf.net:8000/p/roundup/code/#changeset-e2382945d302d0479568fb2803de56b27bfe1589 Joseph Myers jsm@polyomino.org.uk 2018-07-25T11:42:51+00:00 2018-07-25T11:42:51+00:00
changeset e2382945d302
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: avoid basestring.
files
Python 3 preparation: comparisons. http://hg.code.sf.net:8000/p/roundup/code/#changeset-3fa026621f698afc2f2945b733bffd4e03e23d2f Joseph Myers jsm@polyomino.org.uk 2018-07-25T00:39:37+00:00 2018-07-25T00:39:37+00:00
changeset 3fa026621f69
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: comparisons.

Python 3 no longer has the cmp function, or cmp= arguments to sorting
functions / methods (key= must be used instead), and requires rich
comparison methods such as __lt__ to be defined instead of using
__cmp__. All of the comparison mechanisms supported in Python 3 are
also supported in Python 2.

This patch makes the corresponding changes in Roundup to use key
functions and rich comparison methods. In the case of the
JournalPassword and Permission classes, only __eq__ and __ne__ are
defined as I don't see ordered comparisons as useful there (and for
Permission, the old __cmp__ function didn't try to provide a valid
ordering). In the case of the Date class, I kept the __cmp__ method
and implemented the others in terms of it, to avoid excess
repetitiveness in duplicating implementation code for all six rich
comparison methods.

In roundup/admin.py, help_commands_html used operator.attrgetter to
produce the second argument of sorted() - which would be reasonable
for a key function, but the second argument is the cmp function in
Python 2, not a key function (and the key function must be a named
argument not a positional argument in Python 3). That function
appears to be completely unused, so I expect that code never worked.
This patch adds the missing key= to that sorted() call, but it would
also be reasonable to remove the unused function completely instead.
files
Python 3 preparation: use // and __truediv__ as needed. http://hg.code.sf.net:8000/p/roundup/code/#changeset-2120f77554d5ebacd5bccdd7692716660a4f32a1 Joseph Myers jsm@polyomino.org.uk 2018-07-24T23:16:09+00:00 2018-07-24T23:16:09+00:00
changeset 2120f77554d5
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: use // and __truediv__ as needed.

Tool-assisted patch. Those divisions that I thought must be integer
floor divisions and rely on Python 2 integer floor division semantics
are changed to use // (if any are actually meant to be floating-point
divisions, that would break things). One __div__ method is changed to
__truediv__ (with __div__ = __truediv__ for Python 2 compatibility).
files
Python 3 preparation: handle absence of "long" type. http://hg.code.sf.net:8000/p/roundup/code/#changeset-c26d88ec071e8fb3fcfd4b923c99be924eaf127e Joseph Myers jsm@polyomino.org.uk 2018-07-24T23:03:35+00:00 2018-07-24T23:03:35+00:00
changeset c26d88ec071e
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: handle absence of "long" type.

Manual patch.
files
Python 3 preparation: numeric literal syntax. http://hg.code.sf.net:8000/p/roundup/code/#changeset-64c4e43fbb84812c1927ebec861d96837b77dbaa Joseph Myers jsm@polyomino.org.uk 2018-07-24T21:43:32+00:00 2018-07-24T21:43:32+00:00
changeset 64c4e43fbb84
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: numeric literal syntax.

Fixes octal constants to use leading 0o, and removes 'L' suffixes.
Tool-assisted patch.
files
Python 3 preparation: "raise" syntax. http://hg.code.sf.net:8000/p/roundup/code/#changeset-35ea9b1efc1494f29fb07690e7087686de58e0f3 Joseph Myers jsm@polyomino.org.uk 2018-07-24T21:39:58+00:00 2018-07-24T21:39:58+00:00
changeset 35ea9b1efc14
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: "raise" syntax.

Changing "raise Exception, value" to "raise Exception(value)".
Tool-assisted patch. Particular cases to check carefully are the one
place in frontends/ZRoundup/ZRoundup.py where a string exception
needed to be fixed, and the one in roundup/cgi/client.py involving
raising an exception with a traceback (requires three-argument form of
raise in Python 2, which as I understand it requires exec() to avoid a
Python 3 syntax error).
files
Python 3 preparation: use repr() instead of ``. http://hg.code.sf.net:8000/p/roundup/code/#changeset-12fe83f90f0ddf3f04e005cd1a30473799f89d8b Joseph Myers jsm@polyomino.org.uk 2018-07-24T21:36:02+00:00 2018-07-24T21:36:02+00:00
changeset 12fe83f90f0d
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: use repr() instead of ``.

Tool-generated patch.
files
Python 3 preparation: convert print to a function. http://hg.code.sf.net:8000/p/roundup/code/#changeset-64b05e24dbd889f52bf8f773d3456bd0135baa27 Joseph Myers jsm@polyomino.org.uk 2018-07-24T09:54:52+00:00 2018-07-24T09:54:52+00:00
changeset 64b05e24dbd8
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: convert print to a function.

Tool-assisted patch. It is possible that some "from __future__ import
print_function" are not in fact needed, if a file only uses print()
with a single string as an argument and so would work fine in Python 2
without that import.
files
Fix bug in (Date- or Interval-) Range parsing http://hg.code.sf.net:8000/p/roundup/code/#changeset-03505579abef6e3eba3c6c99b27b69cc72915d1b Ralf Schlatterbeck rsc@runtux.com 2015-06-21T20:55:21+02:00 2015-06-21T20:55:21+02:00
changeset 03505579abef
branch
bookmark
tag
user Ralf Schlatterbeck <rsc@runtux.com>
description Fix bug in (Date- or Interval-) Range parsing

Obscure case with only a "from" is now parsed correctly.
Obviously it isn't possible to get the three cases with a missing "from"
*or* a missing "to" or *both* (in which case the interval has zero
length) right in a single regex. This also fixes broken unittests
testFilteringRangeInterval and testFilteringRangeTwoSyntaxes (which used
that syntax). This was introduced in 07c59221f363 but before that ranges
with only a "to" didn't work.
files
Implement (and document) timezone offsets http://hg.code.sf.net:8000/p/roundup/code/#changeset-fe140bc0eaa91dd4b13cc8b12def7dd48703fdf4 Ralf Schlatterbeck rsc@runtux.com 2015-04-21T17:33:06+02:00 2015-04-21T17:33:06+02:00
changeset fe140bc0eaa9
branch
bookmark
tag
user Ralf Schlatterbeck <rsc@runtux.com>
description Implement (and document) timezone offsets
files
Make doctests run in date module http://hg.code.sf.net:8000/p/roundup/code/#changeset-07c59221f363cbcf0aa796d83a9910aa9f39b3e0 Ralf Schlatterbeck rsc@runtux.com 2015-04-21T15:49:41+02:00 2015-04-21T15:49:41+02:00
changeset 07c59221f363
branch
bookmark
tag
user Ralf Schlatterbeck <rsc@runtux.com>
description Make doctests run in date module

This needed to fake the "now" time in the doctests to reproduce results.
Note that this also fixes some errors in Range parsing discovered during
test creation.
files
issue2117897: Fixed two more rounding to 60.0 seconds in date.py http://hg.code.sf.net:8000/p/roundup/code/#changeset-392a055fdc21af5ee91ae2c2a228a27c1f29619b Thomas Arendsen Hein thomas@intevation.de 2014-02-11T09:38:31+01:00 2014-02-11T09:38:31+01:00
changeset 392a055fdc21
branch
bookmark
tag
user Thomas Arendsen Hein <thomas@intevation.de>
description issue2117897: Fixed two more rounding to 60.0 seconds in date.py

This caused exceptions in real-world data as reported in the issue by
Kenny Johansson, Malte Helmert and me. Change them to 59.999 as was done
in the fix for issue2550802.
files
Fixed issue2550802: Fixed date so second fraction can't cause rounding to http://hg.code.sf.net:8000/p/roundup/code/#changeset-8ab5d7d63191308b761c942d5ee80af85f21202a Bernhard Reiter bernhard@intevation.de 2013-03-22T12:09:12+01:00 2013-03-22T12:09:12+01:00
changeset 8ab5d7d63191
branch
bookmark
tag
user Bernhard Reiter <bernhard@intevation.de>
description Fixed issue2550802: Fixed date so second fraction can't cause rounding to
60.000 when serialising. Report and fix by Erik Hanspers.
files
Remove keyword expansions from CVS. All regression tests passed afterwards. http://hg.code.sf.net:8000/p/roundup/code/#changeset-6e3e4f24c75376f61ae0bf0e9ee334567585c38e Eric S. Raymond esr@thyrsus.com 2011-11-16T09:51:38-05:00 2011-11-16T09:51:38-05:00
changeset 6e3e4f24c753
branch
bookmark
tag
user Eric S. Raymond <esr@thyrsus.com>
description Remove keyword expansions from CVS. All regression tests passed afterwards.
files
Multilink fixes and optimizations: http://hg.code.sf.net:8000/p/roundup/code/#changeset-34dce76bb202fab5fbf9685444ad856ee04b6178 Ralf Schlatterbeck schlatterbeck@users.sourceforge.net 2011-03-21T20:44:39+00:00 2011-03-21T20:44:39+00:00
changeset 34dce76bb202
branch
bookmark
tag
user Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
description Multilink fixes and optimizations:

- Optimisation: Late evaluation of Multilinks (only in rdbms backends):
previously we materialized each multilink in a Node -- this creates an
SQL query for each multilink (e.g. 'files' and 'messages' for each
line in the issue index display) -- even if the multilinks aren't
displayed. Now we compute multilinks only if they're accessed (and
keep them cached).
- Add a filter_iter similar to the existing filter call. This feature is
considered experimental. This is currently not used in the
web-interface but passes all tests for the filter call except sorting
by Multilinks (which isn't supported by SQL and isn't a sane concept
anyway). When using filter_iter instead of filter this saves a *lot*
of SQL queries: Filter returns only the IDs of Nodes in the database,
the additional content of a Node has to be fetched in a separate SQL
call. The new filter_iter also returns the IDs of Nodes (one by one,
it's an iterator) but pre-seeds the cache with the content of the
Node. The information needed for seeding the cache is retrieved in the
same SQL query as the ids.
files
Simplify and fix interval comparison. http://hg.code.sf.net:8000/p/roundup/code/#changeset-605f31a596b8e9ff5ceff68439fd3572ee1ab980 Stefan Seefeld stefan@seefeld.name 2010-11-05T13:17:18+00:00 2010-11-05T13:17:18+00:00
changeset 605f31a596b8
branch
bookmark
tag
user Stefan Seefeld <stefan@seefeld.name>
description Simplify and fix interval comparison.
files
Simplify and fix interval comparison. http://hg.code.sf.net:8000/p/roundup/code/#changeset-5f82173d1684757b8245a2d7548a0867596d64a3 Stefan Seefeld stefan@seefeld.name 2010-11-04T21:56:51+00:00 2010-11-04T21:56:51+00:00
changeset 5f82173d1684
branch
bookmark
tag
user Stefan Seefeld <stefan@seefeld.name>
description Simplify and fix interval comparison.
files
- add comment to clarify semantics if pytz is installed http://hg.code.sf.net:8000/p/roundup/code/#changeset-ad7176d22f43dfb06ed5cbe8636f48973f8554f7 Ralf Schlatterbeck schlatterbeck@users.sourceforge.net 2010-09-29T07:49:09+00:00 2010-09-29T07:49:09+00:00
changeset ad7176d22f43
branch
bookmark
tag
user Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
description - add comment to clarify semantics if pytz is installed
files
Robustify Date.set. http://hg.code.sf.net:8000/p/roundup/code/#changeset-d5e2767d4e91603ea94a43f60cc763197f62b9aa Stefan Seefeld stefan@seefeld.name 2009-02-23T19:24:57+00:00 2009-02-23T19:24:57+00:00
changeset d5e2767d4e91
branch
bookmark
tag
user Stefan Seefeld <stefan@seefeld.name>
description Robustify Date.set.
files
Fix granularity stuff so it handles wrapping a lot better. http://hg.code.sf.net:8000/p/roundup/code/#changeset-3d5a0a949107b18834ab3e4fff66f67af2145ac7 Richard Jones richard@users.sourceforge.net 2007-12-23T00:23:23+00:00 2007-12-23T00:23:23+00:00
changeset 3d5a0a949107
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Fix granularity stuff so it handles wrapping a lot better.
files
New tests for range searching by specifying just a month. http://hg.code.sf.net:8000/p/roundup/code/#changeset-78dc9b275aeb7a90958be2d40c237280bbece43c Richard Jones richard@users.sourceforge.net 2007-12-21T11:21:09+00:00 2007-12-21T11:21:09+00:00
changeset 78dc9b275aeb
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description New tests for range searching by specifying just a month.

Currently some of them fail.

_add_granularity is broken - needs tests and complete fix.
files
Add a class-method as a constructor of a Date object from a timestamp. http://hg.code.sf.net:8000/p/roundup/code/#changeset-f5bb1ad47268691ffecbd9cf3e568de8c86c574a Ralf Schlatterbeck schlatterbeck@users.sourceforge.net 2007-03-14T15:07:24+00:00 2007-03-14T15:07:24+00:00
changeset f5bb1ad47268
branch
bookmark
tag
user Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
description Add a class-method as a constructor of a Date object from a timestamp.

The timestamp is not limited by the year-range of common gmtime
implementations.
files
fix a deprecation warning if usecs passed to datetime constructor is a float. http://hg.code.sf.net:8000/p/roundup/code/#changeset-7cda5b4daa911c2d36c8faaa268dec31661c7025 Ralf Schlatterbeck schlatterbeck@users.sourceforge.net 2007-03-09T14:54:39+00:00 2007-03-09T14:54:39+00:00
changeset 7cda5b4daa91
branch
bookmark
tag
user Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
description fix a deprecation warning if usecs passed to datetime constructor is a float.
files
Fix arbitrary limit on dates. http://hg.code.sf.net:8000/p/roundup/code/#changeset-2a60b68985dbf5682025fa5d6c68f53d0e6ba08d Ralf Schlatterbeck schlatterbeck@users.sourceforge.net 2007-03-09T10:25:10+00:00 2007-03-09T10:25:10+00:00
changeset 2a60b68985db
branch
bookmark
tag
user Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
description Fix arbitrary limit on dates.

Dates can now be in the year-range 1-9999 for all backends except
metakit which is still limited to 1970-2038.
files
Handle rounding of seconds generating invalid date values http://hg.code.sf.net:8000/p/roundup/code/#changeset-842f1a292ff865906275476588d1fd1dbc93b514 Richard Jones richard@users.sourceforge.net 2006-12-28T22:38:02+00:00 2006-12-28T22:38:02+00:00
changeset 842f1a292ff8
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Handle rounding of seconds generating invalid date values
files
python 2.6 compatibility http://hg.code.sf.net:8000/p/roundup/code/#changeset-06d7816976bcdf273baadd78c3e41c0e325d38c9 Richard Jones richard@users.sourceforge.net 2006-09-09T05:50:17+00:00 2006-09-09T05:50:17+00:00
changeset 06d7816976bc
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description python 2.6 compatibility
files
full timezone support (based on patch [SF#1465296]) http://hg.code.sf.net:8000/p/roundup/code/#changeset-df7bff6f8a2f7e56a855f2396b58fc74aa2a59a7 Alexander Smishlajev a1s@users.sourceforge.net 2006-05-06T16:43:29+00:00 2006-05-06T16:43:29+00:00
changeset df7bff6f8a2f
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description full timezone support (based on patch [SF#1465296])
files
prevent generation of new single-digit seconds dates [SF#1429390] http://hg.code.sf.net:8000/p/roundup/code/#changeset-afda59d5d5467f82fcc75727684a1608d966496f Richard Jones richard@users.sourceforge.net 2006-04-27T05:15:17+00:00 2006-04-27T05:15:17+00:00
changeset afda59d5d546
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description prevent generation of new single-digit seconds dates [SF#1429390]
files
allow single digit seconds in date spec [SF#1447141] http://hg.code.sf.net:8000/p/roundup/code/#changeset-86d568dbab556ff72c39d175a41ca8eff5313fd8 Richard Jones richard@users.sourceforge.net 2006-04-27T05:11:28+00:00 2006-04-27T05:11:28+00:00
changeset 86d568dbab55
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description allow single digit seconds in date spec [SF#1447141]
files
date spec wasn't allowing week intervals http://hg.code.sf.net:8000/p/roundup/code/#changeset-f47bddab5a49e427397d63ec3421bd60cfeceb36 Richard Jones richard@users.sourceforge.net 2006-03-03T02:02:50+00:00 2006-03-03T02:02:50+00:00
changeset f47bddab5a49
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description date spec wasn't allowing week intervals
files
[maint-0.8] merge from HEAD http://hg.code.sf.net:8000/p/roundup/code/#changeset-c75dd71a7963b4e5dc560381350784ce02aa424e Richard Jones richard@users.sourceforge.net 2006-01-13T01:29:48+00:00 2006-01-13T01:29:48+00:00
changeset c75dd71a7963
branch maint-0.8
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description merge from HEAD
files
tighten up Date parsing to not allow 'M/D/YY' (or 'D/M/YY) [SF#1290550] http://hg.code.sf.net:8000/p/roundup/code/#changeset-9c080e19f3073fff33801c0d7b173530fe28aa6c Richard Jones richard@users.sourceforge.net 2006-01-13T00:22:17+00:00 2006-01-13T00:22:17+00:00
changeset 9c080e19f307
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description tighten up Date parsing to not allow 'M/D/YY' (or 'D/M/YY) [SF#1290550]
files
types module delenda est http://hg.code.sf.net:8000/p/roundup/code/#changeset-9c65e32514aadc997dcb0b78f58520df390bbf7a Anthony Baxter anthonybaxter@users.sourceforge.net 2005-06-08T03:47:09+00:00 2005-06-08T03:47:09+00:00
changeset 9c65e32514aa
branch
bookmark
tag
user Anthony Baxter <anthonybaxter@users.sourceforge.net>
description types module delenda est
files
merge from maint-0-8 http://hg.code.sf.net:8000/p/roundup/code/#changeset-4a5893bfd70d964b63b03f2ec0a0359c92496e62 Richard Jones richard@users.sourceforge.net 2005-03-03T04:49:16+00:00 2005-03-03T04:49:16+00:00
changeset 4a5893bfd70d
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description merge from maint-0-8
files
[maint-0.8] enforce Date year arg to be > 1970 as test checks http://hg.code.sf.net:8000/p/roundup/code/#changeset-ff490d6690159390ed4628422567d99bb14337a3 Richard Jones richard@users.sourceforge.net 2005-03-03T04:47:35+00:00 2005-03-03T04:47:35+00:00
changeset ff490d669015
branch maint-0.8
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description enforce Date year arg to be > 1970 as test checks

other pre-release stuff
files
fix error message formatting in Date.__init__; http://hg.code.sf.net:8000/p/roundup/code/#changeset-ea29d69f7415284b66290fb34a48d2b7c83cf6fe Alexander Smishlajev a1s@users.sourceforge.net 2005-02-25T17:20:42+00:00 2005-02-25T17:20:42+00:00
changeset ea29d69f7415
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description fix error message formatting in Date.__init__;

fix vim modeline
files
[maint-0.8] fix error message formatting in Date.__init__; http://hg.code.sf.net:8000/p/roundup/code/#changeset-368dbeba7bc0dd3a2e2b3be9329447f61c895cbb Alexander Smishlajev a1s@users.sourceforge.net 2005-02-25T17:20:42+00:00 2005-02-25T17:20:42+00:00
changeset 368dbeba7bc0
branch maint-0.8
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description fix error message formatting in Date.__init__;

fix vim modeline
files
[maint-0.8] merge from HEAD http://hg.code.sf.net:8000/p/roundup/code/#changeset-62b1a54107e6ad2718e6f1b7b16a5f6ea1098119 Richard Jones richard@users.sourceforge.net 2005-02-14T01:26:14+00:00 2005-02-14T01:26:14+00:00
changeset 62b1a54107e6
branch maint-0.8
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description merge from HEAD
files
Various bug fixes. http://hg.code.sf.net:8000/p/roundup/code/#changeset-6feac4fcf883c9ffef4a268675312d7ad7691d52 Richard Jones richard@users.sourceforge.net 2005-02-14T00:06:55+00:00 2005-02-14T00:06:55+00:00
changeset 6feac4fcf883
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description Various bug fixes.

- fix handling of invalid date input [SF#1102165]
- retain Boolean selections in edit error handling [SF#1101492]
- fix bug in date editing in Metakit

- fixed up date spec usage string
- note python 2.3 requirement in announcement and installation docs
files
[maint-0.8] merge from HEAD http://hg.code.sf.net:8000/p/roundup/code/#changeset-d9cc29eee7c5fb470e269ed8917cdf5adec8de8c Richard Jones richard@users.sourceforge.net 2005-01-03T03:08:37+00:00 2005-01-03T03:08:37+00:00
changeset d9cc29eee7c5
branch maint-0.8
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description merge from HEAD
files
[maint-0.7] merge from HEAD http://hg.code.sf.net:8000/p/roundup/code/#changeset-145cd31e258b08272529aaf4acf7ffd1f31b19d5 Richard Jones richard@users.sourceforge.net 2005-01-03T03:08:37+00:00 2005-01-03T03:08:37+00:00
changeset 145cd31e258b
branch maint-0.7
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description merge from HEAD
files
fix py2.4 strftime() API change bug [SF#1087746] http://hg.code.sf.net:8000/p/roundup/code/#changeset-de242e68c69b3d9f09abd3e762a920bc9b6b77c3 Richard Jones richard@users.sourceforge.net 2005-01-03T03:05:31+00:00 2005-01-03T03:05:31+00:00
changeset de242e68c69b
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description fix py2.4 strftime() API change bug [SF#1087746]
files
fix Interval.from_seconds() with float argument http://hg.code.sf.net:8000/p/roundup/code/#changeset-ad04cb95e2b0b46e9616075d846b540aee535ea3 Alexander Smishlajev a1s@users.sourceforge.net 2004-11-29T14:32:55+00:00 2004-11-29T14:32:55+00:00
changeset ad04cb95e2b0
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description fix Interval.from_seconds() with float argument
files
[maint-0.7] merge from HEAD http://hg.code.sf.net:8000/p/roundup/code/#changeset-8a4a2e135a731d4c60fb69c0e4b9527c0d5ae28d Richard Jones richard@users.sourceforge.net 2004-10-08T00:34:58+00:00 2004-10-08T00:34:58+00:00
changeset 8a4a2e135a73
branch maint-0.7
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description merge from HEAD
files
date.Interval() now accepts an Interval as a spec [SF#1041266] http://hg.code.sf.net:8000/p/roundup/code/#changeset-797725ec50c5f73762b5e7ece7af35a837f85c78 Richard Jones richard@users.sourceforge.net 2004-10-08T00:32:34+00:00 2004-10-08T00:32:34+00:00
changeset 797725ec50c5
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description date.Interval() now accepts an Interval as a spec [SF#1041266]
files
[maint-0.7] merge from HEAD http://hg.code.sf.net:8000/p/roundup/code/#changeset-770f9fa94c6ad458a55a0c44000c0b15f3759003 Richard Jones richard@users.sourceforge.net 2004-09-29T07:31:32+00:00 2004-09-29T07:31:32+00:00
changeset 770f9fa94c6a
branch maint-0.7
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description merge from HEAD
files
handle Py2.3+ datetime objects as Date specs [SF#971300] http://hg.code.sf.net:8000/p/roundup/code/#changeset-eb4e7b8d52a2f70128c5873a27a5041d17b515e4 Richard Jones richard@users.sourceforge.net 2004-09-29T07:27:09+00:00 2004-09-29T07:27:09+00:00
changeset eb4e7b8d52a2
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description handle Py2.3+ datetime objects as Date specs [SF#971300]
files
[maint-0.7] merge from HEAD http://hg.code.sf.net:8000/p/roundup/code/#changeset-5080ca961b2eca9e3f355531d8448b047c377e5d Richard Jones richard@users.sourceforge.net 2004-07-04T09:08:55+00:00 2004-07-04T09:08:55+00:00
changeset 5080ca961b2e
branch maint-0.7
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description merge from HEAD
files
*** empty log message *** http://hg.code.sf.net:8000/p/roundup/code/#changeset-92510df07670e511ef8e12a635def42da152d475 Richard Jones richard@users.sourceforge.net 2004-07-04T05:07:20+00:00 2004-07-04T05:07:20+00:00
changeset 92510df07670
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description *** empty log message ***
files
fixes http://hg.code.sf.net:8000/p/roundup/code/#changeset-74b63b1beff1b2c72e9be66ac88d6512fb4833f9 Richard Jones richard@users.sourceforge.net 2004-06-09T06:13:52+00:00 2004-06-09T06:13:52+00:00
changeset 74b63b1beff1
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description fixes
files