mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge branch '5.2' into 5
This commit is contained in:
commit
9fc9d18c7a
@ -90,7 +90,7 @@ class DBDate extends DBField
|
|||||||
/**
|
/**
|
||||||
* Returns the standard localised medium date
|
* Returns the standard localised medium date
|
||||||
*
|
*
|
||||||
* @return string
|
* @return ?string
|
||||||
*/
|
*/
|
||||||
public function Nice()
|
public function Nice()
|
||||||
{
|
{
|
||||||
@ -263,7 +263,7 @@ class DBDate extends DBField
|
|||||||
*
|
*
|
||||||
* @param string $format Format code string. See https://unicode-org.github.io/icu/userguide/format_parse/datetime
|
* @param string $format Format code string. See https://unicode-org.github.io/icu/userguide/format_parse/datetime
|
||||||
* @param string $locale Custom locale to use (add to signature in 5.0)
|
* @param string $locale Custom locale to use (add to signature in 5.0)
|
||||||
* @return string The date in the requested format
|
* @return ?string The date in the requested format
|
||||||
*/
|
*/
|
||||||
public function Format($format)
|
public function Format($format)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user