Menu

Commit [r4538]  Maximize  Restore  History

Timeline link resolver branch (#975):

This implements a `timeline:` link resolver prefix.
The argument must be a date string in the ISO:8601 format, with at least the year and the month specified.

Besides TracLinks, there are many more ways to go back to the timeline, now: I modified the format_datetime helper function and the dateinfo macros so that we get links to the timeline from various places (e.g. changeset time, ticket created and last modified time, browser age, wiki history, ...).

Also, there are some fine tuning to the datetime utilities in `trac.util.datefmt`:
- the `format_*` functions supports an `'iso8601'` format
- `parse_date` can also understand this format
- fixed offsets timezones are now using strings like "GMT +01:00" instead of the more confusing 'Etc/GMT-1' one (see discussion in #975).

cboos 2007-01-10

changed /sandbox/timeline-link-resolver-tmp/htdocs/css/timeline.css
changed /sandbox/timeline-link-resolver-tmp/templates/macros.html
changed /sandbox/timeline-link-resolver-tmp/templates/prefs_datetime.html
changed /sandbox/timeline-link-resolver-tmp/templates/timeline.html
changed /sandbox/timeline-link-resolver-tmp/trac/prefs/web_ui.py
changed /sandbox/timeline-link-resolver-tmp/trac/timeline/web_ui.py
changed /sandbox/timeline-link-resolver-tmp/trac/util/datefmt.py
changed /sandbox/timeline-link-resolver-tmp/trac/web/chrome.py
changed /sandbox/timeline-link-resolver-tmp/trac/web/href.py
/sandbox/timeline-link-resolver-tmp/htdocs/css/timeline.css Diff Switch to side-by-side view
Loading...
/sandbox/timeline-link-resolver-tmp/templates/macros.html Diff Switch to side-by-side view
Loading...
/sandbox/timeline-link-resolver-tmp/templates/prefs_datetime.html Diff Switch to side-by-side view
Loading...
/sandbox/timeline-link-resolver-tmp/templates/timeline.html Diff Switch to side-by-side view
Loading...
/sandbox/timeline-link-resolver-tmp/trac/prefs/web_ui.py Diff Switch to side-by-side view
Loading...
/sandbox/timeline-link-resolver-tmp/trac/timeline/web_ui.py Diff Switch to side-by-side view
Loading...
/sandbox/timeline-link-resolver-tmp/trac/util/datefmt.py Diff Switch to side-by-side view
Loading...
/sandbox/timeline-link-resolver-tmp/trac/web/chrome.py Diff Switch to side-by-side view
Loading...
/sandbox/timeline-link-resolver-tmp/trac/web/href.py Diff Switch to side-by-side view
Loading...
Auth0 Logo