1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 08:42:41 +01:00
phorge-phorge/src/view
epriestley 0854425d19 When printing timestamps on paper: use an absolute, context-free date format
Summary:
Ref T13573. Using the browser "Print" feature on pages produces "Thu, Aug 4, 12:22" timestamps which require context to interpret precisely (they don't have a year and don't have a timezone).

Instead, retain these timestamps in "screen" contexts but use "YYYY-MM-DD HH:MM:SS (UTC+X)" timestamps when printing.

Test Plan: Printed Maniphest tasks and other pages in Safari and Chrome using "?__print__=1" and "Print to PDF", saw absolute timestamps after this chagne in the printed documents.

Maniphest Tasks: T13573

Differential Revision: https://secure.phabricator.com/D21451
2020-09-04 16:36:34 -07:00
..
__tests__ Fix local time test case for logged-out viewers using global settings 2016-11-28 09:27:11 -08:00
control Clean up "Revisions/Commits" table in Maniphest slightly 2019-10-31 12:29:53 -07:00
extension Introduce "Curtain" views, panels, and extensions 2016-03-06 09:27:55 -08:00
form Show user availability dots (red = away, orange = busy) in typeaheads, tokenizer tokens, and autocompletes 2019-02-19 10:57:20 -08:00
formation Stick the page footer in the right place on Formation View pages 2020-04-24 11:25:31 -07:00
fuel Improve handle/status list display on devices in commit graph lists 2020-08-12 09:04:08 -07:00
layout Put application curtain panels above extension curtain panels 2020-05-01 09:11:04 -07:00
page Stick the page footer in the right place on Formation View pages 2020-04-24 11:25:31 -07:00
phui When printing timestamps on paper: use an absolute, context-free date format 2020-09-04 16:36:34 -07:00
widget Merge a small amount of remaining "libphutil/" code with Phabricator, break libphutil dependency 2020-02-12 15:17:36 -08:00
AphrontAutoIDView.php Add a "FormationView" to support dynamic flank panels 2020-04-22 08:23:21 -07:00
AphrontDialogView.php When users try to log out with no providers configured, warn them of the consequences 2019-09-08 12:27:29 -07:00
AphrontJavelinView.php Various linter fixes 2015-05-20 07:27:41 +10:00
AphrontNullView.php Provide hasChildren() to replace isEmptyContent() 2013-08-12 07:51:01 -07:00
AphrontTagView.php Remove extra container tag on HandleListViews rendering from ModularTransactions in text mode 2017-01-09 08:41:59 -08:00
AphrontView.php Fix spelling 2017-10-09 10:48:04 -07:00
viewutils.php When printing timestamps on paper: use an absolute, context-free date format 2020-09-04 16:36:34 -07:00