Permalink
Browse files

remove tz stuff

  • Loading branch information...
1 parent 23b8e06 commit bec2c9730e4d6a90a0869b8766dfaf9dbd7964ed @smith committed Oct 31, 2011
Showing with 3 additions and 8 deletions.
  1. +3 −8 CollegeFootball.wdgt/js/schedule.js
@@ -1,15 +1,10 @@
define(["require", "exports", "jquery", "./date"], function (require, exports, $) {
var cellMethods;
- function convertTZ(time) {
- // TODO
- return time;
- }
-
function row(i, r) {
var cells = $(r).find("td"),
o = {},
- cols = ["date", "opponent", "resultTime", "recordTickets"]
+ cols = ["date", "opponent", "resultTime", "recordTickets"];
cells.each(function (i, c) {
cellMethods[cols[i]]($(c), o);
@@ -38,8 +33,8 @@ define(["require", "exports", "jquery", "./date"], function (require, exports, $
var rt = cell.text().trim();
// If there's " ET " (eastern time)
if (/\sET\s?/.test(rt)) {
- // Remove everything after the "ET " and convert timezone
- rt = convertTZ(rt.replace(/\sET\s?(.*)$/, ""));
+ // Remove everything after the "ET "
+ rt = rt.replace(/\sET\s?(.*)$/, "");
}
o.resultTime = rt;
},

0 comments on commit bec2c97

Please sign in to comment.