Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-2336

Realm date data type problem

      How frequently does the bug occur?

      Always

      Description

      Hello, I have a problem releated with date data type. when I open a debugger(ex: chrome-debugger) in my react-native app everthing is fine but when I closed the debugger, realm query not working correctly. For example my realm query result like this(uptadet_at a property and type is date).

      {
          name: 'Bill'
          updated_at: 2023-05-02T11:35:01.000Z
      }
      

      I want to reach this result object keys
      when debugger is open
      console.log(Object.keys(result)) --> output: ['name','updated_at']

      when debugger is closed
      console.log(Object.keys(result)) --> output: []

      thank you for helps

      Stacktrace & log output

      No response

      Can you reproduce the bug?

      Always

      Reproduction Steps

      No response

      Version

      v11.8.10

      What services are you using?

      Local Database only

      Are you using encryption?

      No

      Platform OS and version(s)

      mac 13.2.1(Ventura)

      Build environment

      Which debugger for React Native: ..

      Cocoapods version

      No response

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: