shithub: mc

Download patch

ref: 884b1fe78bbc719a817c9d0070ee5e594e14a8b4
parent: bc8c0ff895ba4ea2096c21446b10391d60ff5f5d
author: Ori Bernstein <ori@eigenstate.org>
date: Fri Sep 26 11:45:19 EDT 2014

Fix build: unimplemented functions commented.

--- a/lib/date/date.myr
+++ b/lib/date/date.myr
@@ -13,12 +13,14 @@
 	const tzoff	: (tzname : byte[:], tm : std.time	-> delta)
 	const isleap	: (d : instant	-> bool)
 
-	/* date deltaerences */
+	/* date differences */
 	const add	: (d : instant, dt : delta	-> instant)
 	const sub	: (d : instant, dt : delta	-> instant)
 	const delta	: (a : instant, b : instant	-> delta)
+        /*
 	const duradd	: (d : instant, dt : period	-> instant)
 	const dursub	: (d : instant, dt : period	-> instant)
+        */
 ;;
 
 const UnixJulianDiff	= 719468