Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
almossawi committed Aug 15, 2016
1 parent 911811b commit 8e62b64
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
5 changes: 0 additions & 5 deletions dist/metricsgraphics.js
Original file line number Diff line number Diff line change
Expand Up @@ -3262,21 +3262,16 @@ function mg_get_time_format(utc, diff) {
main_time_format = MG.time_format(utc, '%M:%S.%L');
} else if (mg_sec_diff(diff)) {
main_time_format = MG.time_format(utc, '%M:%S');

} else if (mg_day_diff(diff)) {
main_time_format = MG.time_format(utc, '%H:%M');

} else if (mg_four_days(diff)) {
main_time_format = MG.time_format(utc, '%H:%M');

} else if (mg_many_days(diff)) {
main_time_format = MG.time_format(utc, '%b %d');

} else if (mg_many_months(diff)) {
main_time_format = MG.time_format(utc, '%b');
} else {
main_time_format = MG.time_format(utc, '%Y');

}
return main_time_format;
}
Expand Down
Loading

0 comments on commit 8e62b64

Please sign in to comment.