From 254f6b8f88ad70d107c75451b1e77c8f8cdcf1e9 Mon Sep 17 00:00:00 2001 From: 480132 <83782172+480132@users.noreply.github.com> Date: Mon, 11 Mar 2024 09:54:04 -0700 Subject: [PATCH] Create Sync.j --- Sync.j | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Sync.j diff --git a/Sync.j b/Sync.j new file mode 100644 index 00000000..9788e738 --- /dev/null +++ b/Sync.j @@ -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