Permalink
Browse files

[fix] Date: Fixing documentation of Date.now()

  • Loading branch information...
1 parent 9f75126 commit d9ac70dbc9f1812fe589f8be939ecf8e2de1b968 @akoprow akoprow committed Oct 21, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 stdlib/core/date/date.opa
@@ -154,9 +154,8 @@ type time_t = external
/**
* The current time.
*
- * Note: the current time is generally not the same on the client and the server.
- * To be certain that you are using the client time, use [Client.now] and to be
- * certain that you are using the server time, use [Server.now].
+ * Note: depending on whether the function is executed on the client or on the
+ * server this function will return, respectively, the client/server time.
**/
now : -> Date.date = Date_private.time_now

0 comments on commit d9ac70d

Please sign in to comment.