diff options
| author | Igor Minar | 2013-01-24 10:51:03 -0800 | 
|---|---|---|
| committer | Igor Minar | 2013-01-24 10:51:03 -0800 | 
| commit | deac80a6e8024de7bc9b485fd083e20da934fccd (patch) | |
| tree | c6f4692da924fb4402d6c6465d168c3588d03ef9 /src | |
| parent | 0539611bac30c0ada7d0eea4bc2bf4b5ee6e831b (diff) | |
| download | angular.js-deac80a6e8024de7bc9b485fd083e20da934fccd.tar.bz2 | |
docs(date): add missing doc about TZ behavior
Diffstat (limited to 'src')
| -rw-r--r-- | src/ng/filter/filters.js | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ng/filter/filters.js b/src/ng/filter/filters.js index cc6d7c60..4c7f2861 100644 --- a/src/ng/filter/filters.js +++ b/src/ng/filter/filters.js @@ -298,7 +298,8 @@ var DATE_FORMATS_SPLIT = /((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+   *   * @param {(Date|number|string)} date Date to format either as Date object, milliseconds (string or   *    number) or various ISO 8601 datetime string formats (e.g. yyyy-MM-ddTHH:mm:ss.SSSZ and it's - *    shorter versions like yyyy-MM-ddTHH:mmZ, yyyy-MM-dd or yyyyMMddTHHmmssZ). + *    shorter versions like yyyy-MM-ddTHH:mmZ, yyyy-MM-dd or yyyyMMddTHHmmssZ). If no timezone is + *    specified in the string input, the time is considered to be in the local timezone.   * @param {string=} format Formatting rules (see Description). If not specified,   *    `mediumDate` is used.   * @returns {string} Formatted string or the input if input is not recognized as date/millis.  | 
