-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Export to Language
-
None
-
Developer Tools
From Charlie Little on slack: https://mongodb.slack.com/archives/C0U7K0MC3/p1709223625739079
I'm exporting a find filter to Java that includes two dates. The Java export offers this up:
Bson filter = new Document("expiration_dt", new Document("$gte", new java.util.Date(1644105600000L)) .append("$lt", new java.util.Date(1644192000000L)));
Can we change the Java export to use date strings or something more akin to the original ISODate format from the shell which was:
}
Both PHP and Java use the long integer value for the date object, whereas all the other language exports use date from string or date from parts.