mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-27 19:46:22 +00:00
Merge branch 'issue-17333' into production.panel.sutty.nl
This commit is contained in:
commit
c8ad833072
1 changed files with 8 additions and 0 deletions
|
@ -19,6 +19,14 @@ class MetadataDate < MetadataTemplate
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Delegar el formato al valor, para uso dentro de date_field()
|
||||||
|
#
|
||||||
|
# @param format [String]
|
||||||
|
# @return [String,nil]
|
||||||
|
def strftime(format)
|
||||||
|
value&.strftime(format)
|
||||||
|
end
|
||||||
|
|
||||||
# Devuelve una fecha, si no hay ninguna es la fecha de hoy.
|
# Devuelve una fecha, si no hay ninguna es la fecha de hoy.
|
||||||
#
|
#
|
||||||
# @return [Date]
|
# @return [Date]
|
||||||
|
|
Loading…
Reference in a new issue