Download Relative Time
Description
Render a TimeSpan object as something that's consumable by humans like "about 9 minutes ago" or "yesterday". A .NET equivalent of Ruby's time_ago_in_words function.
Source Files
The download file relativetime.zip has the following entries.
.hgignore/*from www .j a v a 2s .c o m*/
.hgtags
Local.testsettings
RelativeTime.Silverlight3/RelativeTime.Silverlight3.csproj
RelativeTime.Tests/FormatterTestData.xml
RelativeTime.Tests/FormatterTests.cs
RelativeTime.Tests/Properties/AssemblyInfo.cs
RelativeTime.Tests/RelativeTime.Tests.csproj
RelativeTime.nuspec
RelativeTime.sln
RelativeTime.vsmdi
RelativeTime/Formatter.cs
RelativeTime/Properties/AssemblyInfo.cs
RelativeTime/RelativeTime.csproj
RelativeTime/TimeSpanExtensions.cs
SolutionInfo.cs
Tools/NuGet.exe
TraceAndTestImpact.testsettings
Download
Click the following link to download relativetime.zip.
relativetime.zipHome »
C# Free Code »
Development »
C# Free Code »
Development »