evoluteur / evolutility-server-node

Model-driven REST APIs for CRUD and more, written in Javascript, using Node.js, Express, and PostgreSQL.
GNU Affero General Public License v3.0
112 stars 33 forks source link

Files created with names illegal on Windows #6

Closed david-pfx closed 6 years ago

david-pfx commented 6 years ago

The files created at database.js:220 contain colons, which are not allowed on Windows. This line causes the problem: var fId = new Date().toISOString()

Here is a simple patch: var fId = new Date().toISOString().replace(/:/g,'')

evoluteur commented 6 years ago

Somehow this issue was entered twice. I'm closing this one as duplicate.

david-pfx commented 6 years ago

Yes, a very odd thing happened. GitHub died while I was entering the issue. I thought it was a problem my end so I entered it again (you’ll see the wording is not identical). I only found out later that it was a GitHub outage.

Regards

David M Bennett FACS


Puzzlang – Pattern language and Unity player for abstract single-player games and puzzles -- http://www.polyomino.com http://www.polyomino.com/

From: Olivier Giulieri [mailto:notifications@github.com] Sent: Saturday, 27 October 2018 3:05 PM To: evoluteur/evolutility-server-node evolutility-server-node@noreply.github.com Cc: david-pfx david@polyomino.com; Author author@noreply.github.com Subject: Re: [evoluteur/evolutility-server-node] Files created with names illegal on Windows (#6)

Somehow this issue was entered twice. I'm closing this one as duplicate.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/evoluteur/evolutility-server-node/issues/6#issuecomment-433588580 , or mute the thread https://github.com/notifications/unsubscribe-auth/AMLCXeVHwO8Io_NvGwvT1fCsyeQcugPCks5uo9tvgaJpZM4Xyvg2 .