Date handling
Day.js is a lightweight JavaScript library created for parsing, validating, manipulating, and formatting dates and times. It's crafted to be a simpler and more compact alternative to Moment.js.
This library seamlessly integrates into QuickDEV, enabling immediate utilization for date and time operations by creating Day.js objects with the dayjs()
function. Supporting various formats like strings, Date objects, and UNIX timestamps, it facilitates flexible manipulation such as time addition or subtraction, date formatting, and date comparison. Check dayjs documentation
Developers have the capability to enrich Day.js's functionality through its plugin system, facilitating the integration of additional features that exceed the core library's capabilities.
Day.js Plugins are applicable across all sections in QuickDEV that support {{ }}
Handlebar notation.
Last updated