Permalink
Browse files

Fixed a bug for tweet date times

  • Loading branch information...
1 parent 2460f47 commit 603a077ed861cda6dd2047dbe9909131243d5420 Alex York committed Jun 7, 2010
Showing with 9 additions and 9 deletions.
  1. +2 −2 NDC2010.Logic/TweetConverter.cs
  2. +5 −6 NDC2010.userprefs
  3. +2 −1 NDC2010/NDC2010.csproj
@@ -56,9 +56,9 @@ private static DateTime GetPublishedDate(string tweetedDate)
return new DateTime(int.Parse(dateParts[0]),
int.Parse(dateParts[1]),
int.Parse(dateParts[2]),
- int.Parse(dateParts[3]) + 2,
+ int.Parse(dateParts[3]),
int.Parse(dateParts[4]),
- int.Parse(dateParts[5]));
+ int.Parse(dateParts[5])).AddHours(2);
}
}
}
View
@@ -1,18 +1,17 @@
<Properties>
- <MonoDevelop.Ide.Workspace ActiveConfiguration="Release|iPhone" ctype="Workspace" />
- <MonoDevelop.Ide.Workbench ActiveDocument="NDC2010/NDC2010TableViewController.cs" ctype="Workbench">
+ <MonoDevelop.Ide.Workspace ActiveConfiguration="Distribution|iPhone" ctype="Workspace" />
+ <MonoDevelop.Ide.Workbench ActiveDocument="NDC2010.Logic/FriendlyDateTime.cs" ctype="Workbench">
<Files>
- <File FileName="NDC2010/Sessions/SessionTableViewController.cs" Line="67" Column="6" />
- <File FileName="NDC2010/NDC2010TableViewController.cs" Line="64" Column="5" />
+ <File FileName="NDC2010/SessionsOnDisk.cs" Line="1" Column="1" />
+ <File FileName="NDC2010.Logic/Presenters/DaysPresenter.cs" Line="31" Column="4" />
+ <File FileName="NDC2010.Logic/FriendlyDateTime.cs" Line="1" Column="1" />
</Files>
<Pads>
<Pad Id="ProjectPad">
<State expanded="True">
<Node name="NDC2010" expanded="True" selected="True">
<Option id="ShowVersionControlOverlays" value="True" />
<Option id="ShowAllFiles" value="False" />
- <Node name="App_Data" expanded="True" />
- <Node name="Sessions" expanded="True" />
</Node>
<Node name="NDC2010.Tests">
<Option id="ShowVersionControlOverlays" value="True" />
View
@@ -15,7 +15,7 @@
<BundleDisplayName>NDC 2010</BundleDisplayName>
<BundleIcon>Icon.png</BundleIcon>
<BundleIdentifier>net.alexyork.ndc2010</BundleIdentifier>
- <BundleVersion>1.1.0</BundleVersion>
+ <BundleVersion>1.2.0</BundleVersion>
<MtouchMinimumOS>3.0</MtouchMinimumOS>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
@@ -54,6 +54,7 @@
<MtouchDebug>True</MtouchDebug>
<CodesignKey>iPhone Developer: Alex York (UHY85SS74C)</CodesignKey>
<CodesignProvision>D9C0CC01-7C3D-412E-BBB0-8F0DC2D3087B</CodesignProvision>
+ <MtouchI18n />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
<DebugType>none</DebugType>

0 comments on commit 603a077

Please sign in to comment.