[DOCS-314] Displaying isMaster().localtime using local TZ Created: 02/Jul/12  Updated: 30/Oct/23  Resolved: 03/Jul/12

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Major - P3
Reporter: Stennie Steneker (Inactive) Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-4212 add localTime to ismaster Closed
Participants:
Days since reply: 11 years, 33 weeks, 1 day ago

 Description   

SERVER-4212 (fix version 2.1.1) adds 'localTime' to the isMaster() command, which returns an ISODate showing localTime on the server in UTC.

Would be useful for the documentation (http://docs.mongodb.org/manual/reference/commands/?highlight=ismaster#isMaster) to link to more info on ISODates and make mention of displaying in local TZ via ISODate.toString():

db.isMaster().localTime.toString();



 Comments   
Comment by auto [ 03/Jul/12 ]

Author:

{u'date': u'2012-07-03T14:17:30-07:00', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-314
Branch: master
https://github.com/mongodb/docs/commit/67dd15e1733e5c10dac93f25c44a19fc9abc8dac

Generated at Thu Feb 08 07:38:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.