@@ -196,7 +196,6 @@ internal timedelta(TimeSpan ts, double microsecond)
             public timedelta __pos__() { return +this; }
             public timedelta __neg__() { return -this; }
             public timedelta __abs__() { return (_days > 0) ? this : -this; }
-
             [SpecialName]
             public timedelta FloorDivide(int y) {
                 return this / y;
@@ -668,6 +667,10 @@ public class date : ICodeFormattable {
                 return string.Format("datetime.date({0}, {1}, {2})", _dateTime.Year, _dateTime.Month, _dateTime.Day);
             }
 
+            public virtual string __format__(CodeContext/*!*/ context, string dateFormat){
+                return this.strftime(context, dateFormat);
+            }
+
             #endregion
         }
 