Skip to content

Commit

Permalink
Create Sync.j
Browse files Browse the repository at this point in the history
  • Loading branch information
480132 authored Mar 11, 2024
1 parent bb5199f commit 254f6b8
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Sync.j
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
Used to parse github's dates which kind of suck.
*/

@implementation CPDate (extentions)
// FIX ME:
+ (CPDate)dateFromISO8601:(CPString)aString
{
return new Date();
}

/*!
This method should return a string like
"1 day ago"
"1 week ago"
of if it was more than ... say... 1 week ago
"December 31st 2010"
*/
- (CPString)friendlyDateString
{
return "December 31st 2010";
}

@end

0 comments on commit 254f6b8

Please sign in to comment.