🛠Lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.
1.98k
stars
147
forks
source link
DateTimeFormat: support quick access properties #302
Open
h4kuna opened 1 year ago
I add trait DateTimeFormat what extends class DateTime, with quick access to frequent date and time values with right type.
I used SmartObject and added read-only properties for DateTime.
Example