| Commit | Date | |
|---|---|---|
|
[r5754]
by
cboos
Provide a `to_datetime` utility function which can be used to convert from timestamps in various form (int, long and float) to `datetime` objects which are now used internally by Trac to represent dates (since [milestone:0.11]). The various `trac.util.datefmt` utilities are using the above function so that they're robust w.r.t. non-migrated plugins, but they already document the stricter requirement to accept only `datetime` objects or `None` (the current time), which will be enforced in [milestone:0.12]. I also added a few unit tests. Fixes #4547, based on Dave Abrahams' original patch. |
2007-06-25 13:16:06 | Tree |
| 2007-06-25 10:36:05 | Tree | |
| 2007-06-25 10:32:22 | Tree | |
|
[r5751]
by
cboos
TracBrowser should be more robust when the changeset information is not available (e.g. blocked by authz) |
2007-06-25 10:24:13 | Tree |
| 2007-06-24 09:58:38 | Tree | |
| 2007-06-24 08:57:25 | Tree | |
| 2007-06-24 03:45:58 | Tree | |
|
[r5747]
by
athomas
Context constructor no longer accepts realm, id, version etc. resource |
2007-06-24 03:43:08 | Tree |
| 2007-06-23 20:05:35 | Tree | |
| 2007-06-23 16:37:02 | Tree |