Skip to content
Browse files

Small changes

  • Loading branch information...
1 parent a2a4c57 commit 7957cc1dabb2917d292178e13c6cad7744fdf477 @mbabker committed
Showing with 5 additions and 2 deletions.
  1. +3 −0 build.xml
  2. +2 −2 helper.php
View
3 build.xml
@@ -52,6 +52,9 @@
<echo msg="Create temp folder" />
<mkdir dir="packages/common" />
<echo msg="Copy files" />
+ <copy todir="packages/common/media">
+ <fileset dir="media" />
+ </copy>
<copy todir="packages/common/tmpl">
<fileset dir="tmpl" />
</copy>
View
4 helper.php
@@ -157,11 +157,11 @@ static function processData($obj, $params)
// Load the JavaScript; first ensure we have MooTools Core
JHtml::_('behavior.framework');
JHtml::script('modules/mod_github/media/js/prettydate.js', false, false);
- $github[$i]->commit->time .= '<span class="commit-time" title="'.$ISOtime.'">'.JHtml::date($o['created_at'], 'D M d H:i:s O Y').'</span>';
+ $github[$i]->commit->time = '<span class="commit-time" title="'.$ISOtime.'">'.JHtml::date($date, 'D M d H:i:s O Y').'</span>';
}
else
{
- $github[$i]->commit->time = JHtml::date($date);
+ $github[$i]->commit->time = ' '.JHtml::date($date);
}
$i++;

0 comments on commit 7957cc1

Please sign in to comment.
Something went wrong with that request. Please try again.