1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/applications
Jason Ge da45b09bb4 Use a format that's support by both zend php and hphp
Summary:
hphp doesn't support "24:00". Use "23:59:59 instead. This is causing the stat page only shows the '1 week' stat.

in hphp

  hphpd> =strtotime('1 week ago')
  1340143086
  hphpd> =strtotime('1 week ago 24:00')

  hphpd> =strtotime('1 week ago 23:59:59')
  1340175599

in zend php

  jungejasonmbp15:tmp jungejason$ cat timeformat.php
  <?php

  echo strtotime('1 week ago 24:00');
  echo "\n";
  echo strtotime('1 week ago 23:59:59');
  echo "\n";
  echo strtotime('1 week ago 24:00') - strtotime('1 week ago 23:59:59');;
  echo "\n";
  jungejasonmbp15:tmp jungejason$ php -f timeformat.php
  1340175600
  1340175599
  1

Test Plan: viewed the stat page.

Reviewers: vrana, epriestley

Reviewed By: epriestley

CC: nh, aran, epriestley

Differential Revision: https://secure.phabricator.com/D2865
2012-06-26 15:25:49 -07:00
..
audit Make Thread-Topic human readable 2012-06-14 11:36:34 -07:00
auth Inform user about associated accounts in failed login 2012-06-26 11:38:07 -07:00
base Send Differential e-mails in user's language 2012-06-18 12:41:09 -07:00
calendar Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
chatlog Make chatlog a bit less awful 2012-06-02 14:00:08 -07:00
conduit Return attached hashes from differential.query 2012-06-26 09:07:52 -07:00
countdown Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
daemon Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
differential Use a format that's support by both zend php and hphp 2012-06-26 15:25:49 -07:00
diffusion Display revision number in history 2012-06-22 17:10:45 -07:00
directory/controller Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
draft/storage Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
drydock Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
feed Minor, allow feed stories to publish with no related PHIDs (commits, future notifications). 2012-06-26 05:48:21 -07:00
files Fixing upload_max_filesize configuration directive 2012-06-26 13:20:05 +02:00
flag Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
harbormaster/storage Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
help/controller Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
herald Arrayish fields should always return arrays 2012-06-19 11:18:38 -07:00
maniphest Fixes broken search if no task ids created by D2771. 2012-06-16 06:27:35 -07:00
markup Enable image macros on the wiki 2012-06-20 12:06:35 -07:00
metamta Send several X-Differential-CC headers 2012-06-22 11:10:23 -07:00
notification Add a "Mark All Read" button for notifications 2012-06-20 13:51:19 -07:00
oauthserver Fix lint errors found by Nemo 2012-06-11 19:09:42 -07:00
owners Partial fix for owners bug where a package's repository doesn't exist. 2012-06-18 06:04:36 -07:00
paste Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
people Robustify profile image controls ever so slightly 2012-06-26 08:14:15 -07:00
phame Fix lint errors found by Nemo 2012-06-11 19:09:42 -07:00
phid Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
phortune Use pht() 2012-06-14 16:25:20 -07:00
phriction Only get phid if project exists 2012-06-14 10:43:17 -07:00
policy Move policy tests back into policy/ 2012-06-01 12:43:25 -07:00
project Robustify profile image controls ever so slightly 2012-06-26 08:14:15 -07:00
repository Remove leading "/" so that "git cat-file" works 2012-06-26 11:58:34 -07:00
search Always use HTTPSFuture in elasticsearch. 2012-06-18 15:16:46 -07:00
slowvote Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
status Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
typeahead/controller Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
uiexample Add a basic notification UI element 2012-06-13 15:00:24 -07:00
xhpastview Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
xhprof Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00