Skip to content

Commit

Permalink
Typo when setting equipment to rowing machine.
Browse files Browse the repository at this point in the history
  • Loading branch information
nugget committed Nov 26, 2012
1 parent 09691a9 commit 11099ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ergkeeper/runkeeper.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ proc runkeeper_post_activity {id} {
set yo [yajl create #auto]
$yo map_open
$yo string start_time string [clock format [clock scan $buf(start_time)] -format "%a, %d %b %Y %H:%M:%S"]
$yo string equipment "Row Machine"
$yo string equipment string "Row Machine"
foreach f {type notes} {
$yo string $f string $buf($f)
}
Expand Down Expand Up @@ -255,7 +255,7 @@ proc detect_delimeter {log} {
proc iso_date {buf format} {
set retval $buf

if {[regexp {(\d\d)\/(\d\d)\/(\d\d\d\d)} $buf _ aa bb cccc]} {
if {[regexp {(\d+)[\/-](\d+)[\/-](\d\d\d\d)} $buf _ aa bb cccc]} {
switch $format {
"mmddyyyy" {
set retval "$cccc-$aa-$bb"
Expand Down

0 comments on commit 11099ef

Please sign in to comment.