Skip to content

Change date format to make it parsable by javascript.#1

Open
axel7born wants to merge 1 commit into
acmeair:masterfrom
axel7born:master
Open

Change date format to make it parsable by javascript.#1
axel7born wants to merge 1 commit into
acmeair:masterfrom
axel7born:master

Conversation

@axel7born

Copy link
Copy Markdown

Running acmeair-nodejs I had the problem, that the the date genretated by __generateDate() can't be parsed by the javascript Date() constructor resulting in an undefined object.
Running with mongodb the acmeair app doesn't complain about that. It simpy doesn't find any flights. Running with cassandra, the app procuces error messages.
I changed the format in a way, that the string can be used in the Date constructor.

I only tested with acmeair-nodejs. I can't say, if it is still working with the java implementaion.

@mhdawson

Copy link
Copy Markdown

Sent email to Moss Uchida asking if the referenced PR is going to land.

@mhdawson

Copy link
Copy Markdown

@aspyker any chance this will land ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants