PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Tuesday the 25th of September, 2018

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[06:11:01] <gnu_d> Hi, I was wondering, if I set the admin database to my projects database, can I specifiy the username and password fields to something else ? - For instance the fields of the project's auth system ?
[11:47:04] <mrtAkdeniz> hey there
[11:47:12] <mrtAkdeniz> im using mongodb with php
[11:47:28] <mrtAkdeniz> and seems like need to use UTCDateTime class for timey wimey stuff
[12:56:25] <mrtAkdeniz> this UTCDateTime thing is using UTC, as its name... but problem is
[12:56:29] <mrtAkdeniz> Im not in UTC timezone\
[12:56:44] <mrtAkdeniz> I want to filter dates, for example between today and 3 days ago
[12:57:31] <Derick> mrtAkdeniz: you can do that now, with MongoDB 3.6's features
[12:58:09] <mrtAkdeniz> problem is, my timezone is gmt+3 and when I use utcdatetime,it changes day... today's time goes as 2018-09-24 21:00:00
[12:58:16] <mrtAkdeniz> since it is reducing 3 hours
[12:58:19] <Derick> sure, but that's just storage
[12:58:29] <Derick> it's not reducing anything, it's just showing it from a different zone
[12:58:45] <mrtAkdeniz> wait a minute...
[12:58:51] <mrtAkdeniz> Im inserting also using UTCDateTime
[12:59:02] <mrtAkdeniz> so, now, is actually 12:59 on it
[12:59:06] <mrtAkdeniz> I mean, when it inserts...
[12:59:11] <mrtAkdeniz> so, on query, it should not change
[12:59:25] <Derick> I don't know your code, so I can't say :)
[12:59:35] <mrtAkdeniz> ok just remember that
[12:59:38] <Derick> but it sounds like you might be doing it incorrectly...
[12:59:54] <Derick> I'd love to help, but I need to be on a flight in a short while, so have to leave
[13:00:03] <mrtAkdeniz> Derick: thanks anyway, have a nice day
[13:00:40] <Derick> ← I wrote many parts of the PHP driver, PHP's Date/Time/Timezone support itself, and MongoDB's timezone support
[14:17:59] <deed02392> Derick: well the latest Stretch release of debian by default will give you mongod 3.2 from the http mirrors
[19:13:54] <WebertRLZ> where can I find official mongo:3.0 docker image?
[19:14:05] <WebertRLZ> at least the official Docker File
[19:14:27] <WebertRLZ> no it doesn't exist on Docker Hub