Issue with #dateTimeFormat(now(),'mm-dd-yyyy')# function returning incorrect results

Description

I encountered an issue with the #dateTimeFormat(now(),'mm-dd-yyyy')# function. Instead of returning the expected date format, it is producing incorrect or unexpected results.

Activity

Show:

Jon Clausen September 5, 2024 at 10:30 PM

This is resolved in commit 39874cd to the `bx-compat` module

Jon Clausen September 5, 2024 at 12:49 PM

that’s also on my list today

Luis Majano September 5, 2024 at 10:34 AM

did you finalize this

Luis Majano August 23, 2024 at 8:23 AM

Seems we need more information about the masks in the docs: https://boxlang.ortusbooks.com/boxlang-language/reference/built-in-functions/temporal/datetimeformat

 

Jon Clausen August 23, 2024 at 2:56 AM

the correct month mask is MM . I will add handling in to the compat module for this but mm is actually the mask for minutes

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created August 23, 2024 at 1:26 AM
Updated September 5, 2024 at 10:30 PM
Resolved September 5, 2024 at 10:30 PM