We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c08140b + a4e4fff commit a06fdf3Copy full SHA for a06fdf3
core/Base/Date.class.php
@@ -274,6 +274,11 @@ public function toString()
274
return $this->string;
275
}
276
277
+ public function toFormatString($format)
278
+ {
279
+ return date($format, $this->toStamp());
280
+ }
281
+
282
public function toDialectString(Dialect $dialect)
283
{
284
// there are no known differences yet
doc/ChangeLog
@@ -1,3 +1,7 @@
1
+2012-01-13 Alexander A. Zaytsev
2
3
+ * core/Base/Date.class.php: toFormatString method added.
4
5
2012-01-11 Evgeny V. Kokovikhin
6
7
* core/DB/Dialect.class.php: throw exception for null values. Thanks to
0 commit comments