1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 12:12:43 +01:00
phorge-phorge/webroot/rsrc/css/aphront
epriestley 0c48c1f487 Make date control include times
Summary:
See discussion in T404. Basically, the problem with date-only controls is that they may behave unpredictably in the presence of timezones. When you say "This needs to be done by Oct 23", you probably mean "Oct 23 5PM PST" or something like that, but someone in China may see the "Oct 24" and hit the deadline in good faith but be 10 hours too late. T404 has more discussion and examples. There are ways to fake this, but they get more complicated if the guy in China needs to move the date forward 24 hours.

I think the best solution to this is to not have date-only controls, and always display the time. This makes it absolutley unambiguous what something means, because the guy in the US will set "Oct 23 5PM" and the guy in China will see that accurately in local time.

The downside is that it's slightly more visual clutter and work for the user to specify things precisely, but I added some hints (start/end of day, start/end of business) that will hopefully let us pick the right default in most cases.

Test Plan:
Set some dates.

{F21956}

This has a couple of edge case issues on resize and some not-so-edge-case issues on mobile, but should be good to build T407 on without API changes.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T404, T407

Differential Revision: https://secure.phabricator.com/D3793
2012-10-23 12:00:20 -07:00
..
attached-file-view.css Crop screenshot thumbs in Maniphest 2011-06-01 15:38:17 -07:00
calendar-view.css Don't mix different users on the same line in Calendar 2012-05-21 14:25:26 -07:00
context-bar.css Split "Create Another Task" button into "Similar Task" and "Empty Task" 2012-02-08 09:44:22 -08:00
crumbs-view.css File view: Replace drop-down form with buttons for view options 2012-10-03 10:59:23 -07:00
dark-console.css Fix height of DarkConsole request log 2012-10-03 15:08:21 -07:00
dialog-view.css Fix mask positioning and use mask classes in lightbox 2012-10-23 11:39:33 -07:00
error-view.css Further improve various Phame UI things 2012-10-16 09:44:43 -07:00
form-view.css Make date control include times 2012-10-23 12:00:20 -07:00
headsup-action-list-view.css Add self-links for Differential and Maniphest 2012-05-22 10:52:16 -07:00
headsup.css Add self-links for Differential and Maniphest 2012-05-22 10:52:16 -07:00
lightbox-attachment.css Fix mask positioning and use mask classes in lightbox 2012-10-23 11:39:33 -07:00
list-filter-view.css Allow Maniphest to scale to a massive size 2011-06-28 06:41:05 -07:00
notification.css Show upload status, success and failures for drag-and-drop files in notifications 2012-10-08 15:23:05 -07:00
pager-view.css AphrontPagerView and UIExamples. 2011-03-31 17:06:33 -07:00
panel-view.css Refine "Tactical Command" layout and styling 2012-02-27 13:14:32 -08:00
phabricator-nav-view.css Don't hide filename in filetree on hover 2012-10-17 17:35:47 -07:00
request-failure-view.css PhabricatorEnv 2011-01-31 11:55:26 -08:00
side-nav-view.css Replace home directory list with a dashboard 2012-02-07 16:04:48 -08:00
table-view.css Make columns in flag view not squish each other 2012-08-02 13:58:54 -07:00
tokenizer.css Some owners read workflows. 2011-04-03 19:20:47 -07:00
tooltip.css Show tooltips in the application nav 2012-08-30 18:59:08 -07:00
transaction.css Unify Maniphest + Differential comment styles 2012-02-24 13:02:35 -08:00
typeahead.css Use Javelin placeholders and new sorting rules broadly; consolidate tokenizer construction code 2012-03-09 15:46:39 -08:00