Skip to content

Commit 8f29f2a

Browse files
Fix SuiteCRM#753 - not saving on lowercase date formatting
1 parent 5c9132d commit 8f29f2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/app/core/src/lib/services/formatters/datetime/datetime-formatter.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ export class DatetimeFormatter implements Formatter {
177177
}
178178

179179
if (fromFormat) {
180+
fromFormat = fromFormat.replace('aaaaa\'m\'', 'a');
180181
return DateTime.fromFormat(datetimeString, fromFormat, options);
181182
}
182183

0 commit comments

Comments
 (0)