Comments (2)
Hey @LucasBoberg,
i've tried to reproduce the issue without success.
Could you check the result of this calls in your chrome and firefox?
const formatter = new Intl.DateTimeFormat('en-US', {
timeZone: 'America/New_York',
year: 'numeric',
month: 'numeric',
day: 'numeric',
hour: 'numeric',
minute: 'numeric',
second: 'numeric',
hour12: false,
era: 'narrow'
})
console.log(formatter.formatToParts(Date.now()))
from neo4j-javascript-driver.
When using this code:
const driver = neo4j.driver('neo4j://localhost:7687', neo4j.auth.basic('neo4j', 'password'))
driver.executeQuery("RETURN datetime('2023-05-30T01:00:00[America/New_York]') as dt")
.then(({ records: [record] }) => {
console.log('dt', record.get('dt'))
}).finally(async () => driver.close())
It works as expected but my code provided above does not work but still return a value just a wrong one.
The top one being the result from the code in this comment and the one on the bottom being the code provided in the issue.
from neo4j-javascript-driver.
Related Issues (20)
- getServerInfo() not being awaited properly HOT 4
- `Time` and `LocalTime` types lack method `.toStandardDate()` HOT 1
- [Bug] Neo4jError: Ignored either because of an error or RESET HOT 8
- time consumed in neo4j browser for a query is ~20ms, while using the driver facing a huge increase in time ~370ms. HOT 3
- Impossible to connect to Aura-hosted database HOT 2
- Error connecting Neo4j 5.6 with neo4j-driver-bolt-connection 5.8.0 HOT 1
- Different situations on different browser HOT 2
- [Bug] `parseDatabaseUrl` removes path from URL HOT 12
- Fatal JavaScript out of memory: Ineffective mark-compacts near heap limit HOT 1
- [HELP] Type 'T' does not satisfy the constraint 'Dict'. HOT 4
- ypeError: Cannot read properties of undefined (reading 'startsWith') HOT 2
- sessionExpired errors when using the driver from nodeJS to aura HOT 7
- :auto statement not working HOT 2
- Routing table never fresh with null (default) database name HOT 1
- Connection attempts time out when connecting using Bun HOT 7
- How to disable wss request,just use ws HOT 1
- Routing Table/ Connection Timed out error HOT 5
- Add release notes to Github releases HOT 3
- Enabling node.js source maps increases neo4j-driver total execution time by 70x+ on my machine HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neo4j-javascript-driver.