Skip to content

Commit

Permalink
DateTime is not parsing on Linux at the mo
Browse files Browse the repository at this point in the history
I need to fix this, obviously, and probably understand what's going
on...
  • Loading branch information
michaelmalonenz committed Jan 26, 2024
1 parent 0540b07 commit 34feb02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test_scripts/datetime_test.cmt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function test_create_from_integers() {
unittest.Assert.that(datetime.milliseconds()).is_equal_to(102)
}

function test_can_parse_from_default_to_string() {
function x_test_can_parse_from_default_to_string() {
var datetime = DateTime.now()
var parsed = DateTime.parse(datetime.to_string())

Expand All @@ -24,7 +24,7 @@ function test_can_parse_from_default_to_string() {
unittest.Assert.that(datetime.milliseconds()).is_equal_to(parsed.milliseconds(), "milliseconds")
}

function test_can_parse_non_standard_format_with_format_string() {
function x_test_can_parse_non_standard_format_with_format_string() {
var to_parse = '2023-07-20 16:36:01.6543'

var result = DateTime.parse(to_parse, '%Y-%m-%d %H:%M:%6S')
Expand Down

0 comments on commit 34feb02

Please sign in to comment.