Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
duh, nevermind
Browse files Browse the repository at this point in the history
  • Loading branch information
obfuscurity committed Apr 14, 2013
1 parent 6956410 commit fee3dbe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
source 'https://rubygems.org'

ruby '1.9.3'

gem 'bundler'
gem 'sinatra'
gem 'thin'
Expand Down
2 changes: 1 addition & 1 deletion lib/mater/web.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Web < Sinatra::Base
target.delete('target')
datapoints = []
target['datapoints'].each do |datapoint|
time = Time.at(datapoint[1]).to_time.to_s.split[1].gsub(/\:\d{2}$/, '')
time = Time.at(datapoint[1]).to_s.split[1].gsub(/\:\d{2}$/, '')
datapoints << {
"title" => time,
"value" => datapoint[0].to_i
Expand Down

0 comments on commit fee3dbe

Please sign in to comment.