Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.

Fix documentation of bson_iter_date_time #41

Merged
merged 1 commit into from
Mar 23, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix documentation
bson_iter_date_time returns the unix timestamp in miliseconds.
  • Loading branch information
mcuadros committed Mar 23, 2014
commit 6de284fcd4da541cf13540268ba20983a10cd478
2 changes: 1 addition & 1 deletion doc/bson_iter_date_time.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ bson_iter_timeval (const bson_iter_t *iter,
DESCRIPTION
-----------

The _bson_iter_date_time()_ function shall return the number of microseconds since the UNIX epoch, as contained in the BSON_TYPE_DATE_TIME element.
The _bson_iter_date_time()_ function shall return the number of miliseconds since the UNIX epoch, as contained in the BSON_TYPE_DATE_TIME element.

The _bson_iter_time_t()_ function shall return the number of seconds since the UNIX epoch, as contained in the BSON_TYPE_DATE_TIME element.

Expand Down