Skip to content

Commit

Permalink
Update LDEV2315.cfc
Browse files Browse the repository at this point in the history
  • Loading branch information
cfmitrah authored Feb 14, 2024
1 parent 7f01df0 commit ad6f066
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/tickets/LDEV2315.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ component extends="org.lucee.cfml.test.LuceeTestCase" {
expect(res.country).toBe("US");
expect(res.currency.code).toBe("USD");
expect(res.currency.symbol).toBe("$"); // $
expect(res.dateTimeFormat.date).toBe("EEEE, MMMM d, y");
expect(res.dateTimeFormat.date).toBe("EEEE, MMMM d, yyyy");
expect(res.dateTimeFormat.time).toBe("h:mm:ss a");

// jpn
Expand All @@ -44,7 +44,7 @@ component extends="org.lucee.cfml.test.LuceeTestCase" {
expect(res.country).toBe("BE");
expect(res.currency.code).toBe("EUR");
expect(Asc(res.currency.symbol)).toBe("8364"); //
expect(res.dateTimeFormat.date).toBe("EEEE d MMMM y");
expect(res.dateTimeFormat.date).toBe("EEEE d MMMM yyyy");
expect(res.dateTimeFormat.time).toBe("HH:mm:ss");

// spanish (argentina)
Expand All @@ -53,12 +53,12 @@ component extends="org.lucee.cfml.test.LuceeTestCase" {
expect(res.country).toBe("AR");
expect(res.currency.code).toBe("ARS");
expect(Asc(res.currency.symbol)).toBe("36"); // $
expect(res.dateTimeFormat.date).toBe("EEEE, d 'de' MMMM 'de' y");
expect(res.dateTimeFormat.date).toBe("EEEE, d 'de' MMMM 'de' yyyy");
expect(res.dateTimeFormat.time).toBe("HH:mm:ss");

setLocale(origLocale);
});
});
}

}
}

0 comments on commit ad6f066

Please sign in to comment.