Comments (6)
Please, keep in mind that I'm using strict json to parse and show documents : http://www.mongodb.org/display/DOCS/Mongo+Extended+JSON
So according to this web page a timestamp is represented by : { "$timestamp" : [ 1, 2 ] }
Anyway, I didn't find some bugs to display documents that come from mongodb. Those bugs are with regex and timestamp values. So I just fixed those bugs and added more tests to make sure this will never happens again.
I'm very sorry about those bugs I already did a software update.
from mongohub-mac.
please, close this bug as soon as you verify this issue. Fixed in 2.4.7 or higher.
from mongohub-mac.
Thanks for the quick response! :)
Unfortunately, the bug persist... Date fields still get converted to Double fields when I edit and save an object.
According to the link you posted, I would expect a Date to be shown as
"created_at": { "$date" : 132006661200 }
instead of just
"created_at": 1320066612000
Similar to the $oid Mongo-ObjectIDs, so that the data type doesn't change.
Timestamps would be similar:
"created_at": { "$timestamp" : { 1320066612000, 000000 } }
Would that be possible? =)
from mongohub-mac.
Sorry about that… I don't know why but when I read "date", I understood "timestamp"… Well, that was not bad since I found bugs around timestamp too. Anyway, now that I can understand "date", I just fixed the bug you describe.
So the date should be display as : "created_at": { $"date" : 1320066612000.00000 }
This should be fixed with 2.4.8, I let you close this issue
from mongohub-mac.
Perfect! Works flawlessly.
Thanks again, is there some way we could donate some money for the awesome support? :D
from mongohub-mac.
Well, I can't accept crasher and data lost… So that's obvious for me to fix those bugs as fast as I can. Plus, you already paid by hitting this bug (and having data lost) instead of me… :-)
from mongohub-mac.
Related Issues (20)
- Export collection as .json file HOT 1
- Structured JSON editor
- Crashes when searches for '/'
- Stop Stats from opening when double-clicking a collection
- compile error in mac os 10.11
- MongoHub Future? HOT 1
- Create Database it doesn't work for me
- A JavaScript error occurred in the main process
- (feat) Export/import multiple collections at once
- Password can be shared between two connections with the same url
- export/import connection configurations HOT 1
- Inserting Float Number Error
- Problem generating json
- Confirmation modal on "- Remove" in the Find tab
- Connect using Private key... HOT 1
- Selected tab repoen tab of stats of collection.
- Inserting _id using ObjectId()
- Connection to Atlas HOT 2
- Download link broken (compiled version) HOT 2
- Is this abandoned? HOT 1
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 mongohub-mac.