5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-27 17:36:20 +00:00

Merge branch 'issue-17333' into production.panel.sutty.nl

This commit is contained in:
f 2024-10-14 13:18:57 -03:00
commit c8ad833072
No known key found for this signature in database

View file

@ -19,6 +19,14 @@ class MetadataDate < MetadataTemplate
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.
#
# @return [Date]