Skip to content

Commit

Permalink
correct date format
Browse files Browse the repository at this point in the history
  • Loading branch information
siuying committed Feb 2, 2012
1 parent bbffc1f commit f8ac226
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.2.0
0.2.1
4 changes: 2 additions & 2 deletions lib/itunes_ingestion.rb
Expand Up @@ -72,8 +72,8 @@ def parse_report(report)
:product_type_id => product_type_id.strip,
:units => units.to_i,
:developer_proceeds => developer_proceeds.to_f,
:begin_date => Date.strptime(begin_date.strip, '%d/%m/%Y'),
:end_date => Date.strptime(end_date.strip, '%d/%m/%Y'),
:begin_date => Date.strptime(begin_date.strip, '%m/%d/%Y'),
:end_date => Date.strptime(end_date.strip, '%m/%d/%Y'),
:currency => currency.strip,
:country_code => country_code.strip,
:currency_of_proceeds => currency_of_proceeds.strip,
Expand Down

0 comments on commit f8ac226

Please sign in to comment.