Skip to content

Commit

Permalink
LDEV-5073 - add missing mask and add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Aug 26, 2024
1 parent ca26101 commit f9f6986
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
2 changes: 2 additions & 0 deletions core/src/main/java/lucee/commons/i18n/FormatUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ public class FormatUtil {

"EEE, MMM dd, yyyy HH:mm:ssZ",

"EEE, dd MMM yyyy HH:mm:ss Z",

"EEEE, MMMM d, yyyy, h:mm:ss a z",

"EEEE, MMMM d, yyyy, h:mm:ss a zzzz",
Expand Down
2 changes: 1 addition & 1 deletion loader/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project default="core" basedir="." name="Lucee"
xmlns:resolver="antlib:org.apache.maven.resolver.ant">

<property name="version" value="6.1.1.76-SNAPSHOT"/>
<property name="version" value="6.1.1.77-SNAPSHOT"/>

<taskdef uri="antlib:org.apache.maven.resolver.ant" resource="org/apache/maven/resolver/ant/antlib.xml">
<classpath>
Expand Down
2 changes: 1 addition & 1 deletion loader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>org.lucee</groupId>
<artifactId>lucee</artifactId>
<version>6.1.1.76-SNAPSHOT</version>
<version>6.1.1.77-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Lucee Loader Build</name>
Expand Down
14 changes: 14 additions & 0 deletions test/tickets/LDEV5073.cfc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
component extends = "org.lucee.cfml.test.LuceeTestCase" {

function run( testResults, testBox ){
describe( "Test LDEV-5073", function(){

it( "test EEE, dd MMM yyyy HH:mm:ss Z", function(){
var result=isDate(ParseDateTime("Wed, 14 Aug 2024 14:50:51 +0000"));
expect( result ).toBeTrue();
});

} );
}

}

0 comments on commit f9f6986

Please sign in to comment.