Commit Graph

787 Commits

Author SHA1 Message Date
Yichun Zhang (agentzh) 0bfb73764e bugfix: we might misuse the homebrew version of LuaJIT on Mac OS X when the user specified the --with-ld-opt="-L/usr/local/lib". thanks Aapo Talvensaari for the report. 2014-08-30 15:12:46 -07:00
Yichun Zhang (agentzh) cf8c075e79 resty: more improvements.
* made ngx.exit() an alias of os.exit().
* made the exit status code right for the wrapper process.
* require at least ngx_lua 0.9.12 to prevent memory bugs in older
  versions.
* suppressed a debugging output line.
2014-08-20 22:02:40 -07:00
Yichun Zhang (agentzh) bb71a30a68 resty: added -I dir for adding dir to Lua module search paths. 2014-08-20 21:45:38 -07:00
Yichun Zhang (agentzh) af058d15db resty: made ngx.say, ngx.print, and print accept the same types of arguments as ngx_lua's default. 2014-08-20 21:22:14 -07:00
Yichun Zhang (agentzh) 59e6665224 resty: made ngx.print, ngx.say, and print return meaninful values; also mocked ngx.flush() and ngx.eof(). 2014-08-20 21:10:18 -07:00
Yichun Zhang (agentzh) fae163cc70 resty: use the nameservers in /etc/resolv.conf; if none, default to google's 2 open DNS servers, 8.8.8.8 and 8.8.4.4. 2014-08-20 21:03:27 -07:00
Yichun Zhang (agentzh) fd1f99ff52 resty: removed the redundant child process reaping code, which also fixes a warning reported by Anton Heryanto. 2014-08-20 20:50:37 -07:00
Yichun Zhang (agentzh) 1140a2fa67 resty: added bug report info to the "resty" utility's usage output. 2014-08-20 15:52:03 -07:00
Yichun Zhang (agentzh) 6f26127d9b resty: made the usage text more concise. 2014-08-20 15:33:33 -07:00
Yichun Zhang (agentzh) 96fc664875 resty: added the -V option. 2014-08-20 15:31:29 -07:00
Yichun Zhang (agentzh) f7e34420c0 resty: more configuration love. 2014-08-20 15:24:57 -07:00
Yichun Zhang (agentzh) 399bdecaef feature: added new command-line utility, "resty", to run Lua code or Lua files (for OpenResty) directly from the command-line. it is installed into the "<prefix>/bin" directory. prodded by Vitaly Kosenko. 2014-08-20 14:58:58 -07:00
Yichun Zhang (agentzh) aa33a9e752 dist-check: more tolerant about release numbers. 2014-08-20 14:44:22 -07:00
Yichun Zhang (agentzh) c8b64f9fd4 upgraded ngx_lua to 0.9.12rc1. 2014-08-20 14:43:34 -07:00
Yichun Zhang (agentzh) 1429569342 upgraded lua-cjson to 2.1.0.2. 2014-08-17 22:45:39 -07:00
Yichun Zhang (agentzh) 88f0bdb2ae ./configure: call "sh" explicitly for nginx's ./configure script to prevent weird file permission issues as in #63. 2014-08-17 22:27:20 -07:00
Yichun Zhang (agentzh) 526c35ce2f util/install: rm the target file before overwriting to prevent running process from crashing. 2014-08-17 22:23:00 -07:00
Yichun Zhang (agentzh) 5b6c063ae7 bumped version to 1.7.4.1rc1. 2014-08-16 14:45:41 -07:00
Yichun Zhang (agentzh) 34f66f5343 upgraded ngx_set_misc to 0.25. 2014-08-16 14:05:26 -07:00
Yichun Zhang (agentzh) 471940c09b upgraded lua-resty-mysql to 0.15. 2014-08-16 13:57:22 -07:00
Yichun Zhang (agentzh) c9c42f0fee upgraded ngx_form_input to 0.10. 2014-08-16 13:53:28 -07:00
Yichun Zhang (agentzh) 1b20094c21 upgraded ngx_echo to 0.55. 2014-08-16 13:51:52 -07:00
Yichun Zhang (agentzh) fed9b15524 upgraded lua-resty-dns to 0.13. 2014-08-16 13:48:35 -07:00
Yichun Zhang (agentzh) 51a7b54c60 upgraded lua-resty-websocket to 0.04. 2014-08-16 13:46:52 -07:00
Yichun Zhang (agentzh) a90eb927f5 upgraded lua-resty-core to 0.0.9. 2014-08-16 13:44:00 -07:00
Yichun Zhang (agentzh) 8da3363507 upgraded lua-resty-upstream-healthcheck to 0.03. 2014-08-16 13:41:17 -07:00
Yichun Zhang (agentzh) 9d3aa49228 upgraded ngx_lua to 0.9.11. 2014-08-16 13:37:52 -07:00
Yichun Zhang (agentzh) 1266a2933e upgraded ngx_postgres to 1.0rc4. 2014-08-13 15:40:19 -07:00
Yichun Zhang (agentzh) e225c37731 upgraded the nginx core to 1.7.4. 2014-08-07 19:18:57 -07:00
Yichun Zhang (agentzh) b7f6be5a2f upgraded LuaJIT to v2.1-20140805. 2014-08-05 14:59:19 -07:00
Yichun Zhang (agentzh) c23007bcce optimize: now we use the C compiler option -O2 by default. 2014-07-29 15:12:12 -07:00
Yichun Zhang (agentzh) 43ae08a6c4 bugfix: applied a patch to fix a bug in the standard ngx_geoip module where its nginx variables like $geoip_latitude might randomly take empty values when they should take perfect values. see http://mailman.nginx.org/pipermail/nginx-devel/2014-July/005642.html 2014-07-25 15:03:42 -07:00
Yichun Zhang (agentzh) f26ae39115 bugfix: applied a patch to the nginx core to ensure the ssl handshake procedure in ngx_proxy is always protected by a timer for timeout errors. see http://mailman.nginx.org/pipermail/nginx-devel/2014-July/005627.html 2014-07-22 17:10:22 -07:00
Yichun Zhang (agentzh) cc4a307f0e upgraded the nginx core to 1.7.3. 2014-07-13 20:35:52 -07:00
Yichun Zhang (agentzh) 315279079f bumped version to 1.7.2.1. 2014-07-12 19:57:20 -07:00
Yichun Zhang (agentzh) 6d854671b7 bugfix: "./configure --without-lua_resty_dns" did not work as declared. thanks Vitaly for the report in #61. 2014-07-09 11:32:49 -07:00
Yichun Zhang (agentzh) da19bb5a49 bumped version to 1.7.2.1rc2. 2014-07-08 14:52:33 -07:00
Yichun Zhang (agentzh) 58b1cf3443 upgraded ngx_memc to 0.15. 2014-07-08 14:18:16 -07:00
Yichun Zhang (agentzh) a485e40fb8 upgraded ngx_srcache to 0.28. 2014-07-08 14:13:12 -07:00
Yichun Zhang (agentzh) b92c497d19 upgraded lua-resty-lrucache to 0.02. 2014-07-08 13:59:27 -07:00
Yichun Zhang (agentzh) e6985ae696 upgraded ngx_lua to 0.9.10. 2014-07-08 13:55:28 -07:00
Yichun Zhang (agentzh) 98d4b7ef1f upgraded LuaJIT to v2.1-20140707. 2014-07-07 15:38:49 -07:00
Yichun Zhang (agentzh) b1f221b066 change: "./configure --with-debug" now also pass the extra C compiler options -DNGX_LUA_USE_ASSERT -DNGX_LUA_ABORT_AT_PANIC for ngx_lua. 2014-07-04 18:57:47 -07:00
Yichun Zhang (agentzh) 9b656b9c5e upgraded LuaJIT to v2.1-20140703. 2014-07-03 13:17:36 -07:00
Yichun Zhang (agentzh) ee61517201 bumped version to 1.7.2.1rc1. also updated tests to reflect recent changes. 2014-06-30 21:39:08 -07:00
Yichun Zhang (agentzh) 6eaf60aa1c upgraded LuaJIT to v2.1-20140627. 2014-06-30 21:36:43 -07:00
Yichun Zhang (agentzh) 3dfbe11054 upgraded lua-resty-upstream-healthcheck to 0.02. 2014-06-30 21:35:35 -07:00
Yichun Zhang (agentzh) 185f8cacfa upgraded ngx_echo to 0.54. 2014-06-30 21:33:29 -07:00
Yichun Zhang (agentzh) e4a932b5cb upgraded ngx_form_input to 0.09. 2014-06-30 21:30:11 -07:00
Yichun Zhang (agentzh) ca534abb8f upgraded lua-resty-dns to 0.12. 2014-06-30 21:27:16 -07:00
Yichun Zhang (agentzh) bfc6b755b0 upgraded ngx_lua to 0.9.9. 2014-06-30 21:23:43 -07:00
Yichun Zhang (agentzh) c08b4a0493 upgraded lua-resty-core to 0.0.8. 2014-06-30 20:51:21 -07:00
Yichun Zhang (agentzh) 9e5299a0d2 use cc as the default C compiler for luajit and lua C libraries. 2014-06-23 16:11:47 -07:00
Yichun Zhang (agentzh) b824a3cb59 upgraded the nginx core to 1.7.2. 2014-06-17 16:57:10 -07:00
Yichun Zhang (agentzh) 6e41bcd018 bumped version to 1.7.0.1 and also updated the test suite to reflect recent changes. 2014-06-07 13:51:02 -07:00
Yichun Zhang (agentzh) 62633cfa8d upgraded LuaJIT to v2.1-20140607. 2014-06-07 13:43:39 -07:00
Yichun Zhang (agentzh) bc3cb9243f feature: bundled new Lua library, lua-resty-lrucache, which is also enabled by default. 2014-05-31 22:15:40 -07:00
Yichun Zhang (agentzh) 20ace16258 upgraded LuaJIT to v2.1-20140531, ngx_srcache to 0.27, and lua-resty-core to 0.0.7. 2014-05-31 21:58:37 -07:00
Yichun Zhang (agentzh) b54113f517 upgraded ngx_lua to 0.9.8. 2014-05-31 21:47:26 -07:00
Yichun Zhang (agentzh) f1f3ba8ec6 upgraded LuaJIT to v2.1-20140520. 2014-05-20 14:18:07 -07:00
Yichun Zhang (agentzh) 4085b21eb8 updated tests to reflect recent changes. 2014-05-17 14:24:00 -07:00
Yichun Zhang (agentzh) 91484d0e11 upgraded LuaJIT to v2.1-20140515-2. 2014-05-17 14:19:29 -07:00
Yichun Zhang (agentzh) f5d5e5a2fa dist-check: use -DLUA_USE_TRACE_LOGS for the debug build of luajit. 2014-05-17 14:19:01 -07:00
Yichun Zhang (agentzh) 1e7d38d479 removed our bundled version of ngx_http_auth_request_module because recent versions of the nginx core already have it. thanks @LazyZhu for the report in #47. 2014-05-17 14:17:50 -07:00
Yichun Zhang (agentzh) 1dbd0b24d2 apply the slab_defrag patch to the nginx core by default. 2014-05-06 13:16:59 -07:00
Yichun Zhang (agentzh) 9c3a123035 upgraded nginx core to 1.7.0. 2014-05-03 12:59:19 -07:00
Yichun Zhang (agentzh) 2ee8fe558a updated tests to reflect recent changes; also bumped version to 1.5.12.1. 2014-04-29 13:32:50 -07:00
Yichun Zhang (agentzh) 6ab944ebc4 upgraded ngx_lua_upstream module to 0.02. 2014-04-24 21:47:20 -07:00
Yichun Zhang (agentzh) 332a42f57f upgraded ngx_redis2 to 0.11. 2014-04-24 21:25:19 -07:00
Yichun Zhang (agentzh) 60bc64a72a build: updated links to reflect recent repos migration over the github "openresty" account. 2014-04-24 21:24:50 -07:00
Yichun Zhang (agentzh) e3b7de9b23 upgraded LuaJIT to v2.1-20140423. 2014-04-23 15:57:36 -07:00
Yichun Zhang (agentzh) c2fb3c9dac bumped version to 1.5.12.1rc3. 2014-04-19 20:06:11 -07:00
Yichun Zhang (agentzh) 84f0092a6c upgraded LuaJIT to v2.1-20140419. 2014-04-19 20:02:47 -07:00
Yichun Zhang (agentzh) 8cd9200a0f upgraded lua-resty-websocket to 0.03. 2014-04-11 21:17:01 -07:00
Yichun Zhang (agentzh) 5d4854f3e9 upgraded ngx_echo to 0.53. 2014-04-11 21:11:25 -07:00
Yichun Zhang (agentzh) b6661ea47c bumped LuaJIT version to v2.1-20140411. 2014-04-11 21:10:51 -07:00
Yichun Zhang (agentzh) 77104b6cdf upgraded ngx_lua to 0.9.7. 2014-04-06 17:06:25 -07:00
Yichun Zhang (agentzh) e932c8a136 upgraded lua-resty-core to 0.0.6. 2014-04-06 16:59:23 -07:00
Yichun Zhang (agentzh) 10fd3ea365 upgraded LuaJIT to v2.1-20140403. 2014-04-06 16:55:20 -07:00
Yichun Zhang (agentzh) 303601ef8c upgraded lua-resty-lock to 0.03. 2014-04-06 16:54:13 -07:00
Yichun Zhang (agentzh) 7f377fd354 upgraded lua-resty-string to 0.09. 2014-04-06 16:52:11 -07:00
Yichun Zhang (agentzh) fdad0c63ce upgraded ngx_form_input to 0.08. 2014-04-06 11:43:00 -07:00
Yichun Zhang (agentzh) b0f1e786c1 upgraded the nginx core to 1.5.12. 2014-04-03 17:36:53 -07:00
Yichun Zhang (agentzh) d001d17d0c upgraded ngx_lua to 0.9.6, ngx_srcache to 0.26, lua-resty-core to 0.0.5, and ngx_echo to 0.52. 2014-03-20 13:29:19 -07:00
Yichun Zhang (agentzh) 37ba2b1015 backported the patch to the nginx core for the latest SPDY security vulnerability (CVE-2014-0133). 2014-03-19 17:38:31 -07:00
Yichun Zhang (agentzh) 2ba03387fd upgraded LuaJIT to v2.1-20140313. 2014-03-13 20:57:32 -07:00
Yichun Zhang (agentzh) 03eae9e632 updated the tests to reflect recent changes; also added the --without-http_lua_upstream_module option to the usage message of ./configure. 2014-03-12 16:08:40 -07:00
Yichun Zhang (agentzh) 965bd0fba0 upgraded lua-resty-redis to 0.20 for real this time. 2014-03-12 16:03:07 -07:00
Yichun Zhang (agentzh) f8783f35b1 upgraded luajit to v2.1-20140305, lua-cjson to 2.1.0.1, lua-resty-core to 0.0.4, lua-resty-redis to 0.20, and ngx_lua to 0.9.5; bundled the ngx_lua_upstream module and the lua-resty-upstream-healthcheck library. 2014-03-12 16:02:20 -07:00
Yichun Zhang (agentzh) e36d505d80 upgraded the patches for nginx 1.5.11. 2014-03-08 15:02:35 -08:00
Yichun Zhang (agentzh) 3ddc73ac43 dist-check: added simple sanity test for the cjson.safe Lua module. 2014-02-28 21:22:33 -08:00
Yichun Zhang (agentzh) 35934abdb1 configure: added support for DragonFlyBSD. thanks @lhmwzy for the patch in #44. 2014-02-28 19:46:26 -08:00
Yichun Zhang (agentzh) 3b078c75ae upgraded LuaJIT v2.1 to 2.1-20140129. 2014-01-29 15:18:17 -08:00
Yichun Zhang (agentzh) 227e4e0da2 upgraded nginx core to 1.5.9. 2014-01-27 22:11:50 -08:00
Yichun Zhang (agentzh) 676150c81b bugfix: setting $args might not make ngx_proxy (and others) honour the change. applied the setting_args_invalidates_uri patch to fix this issue. thanks rvsw for the report. 2014-01-23 12:06:48 -08:00
Yichun Zhang (agentzh) 84f46c7be5 bumped version to 1.5.8.1. 2014-01-10 18:09:13 -08:00
Yichun Zhang (agentzh) 65367a71cd upgraded lua-resty-dns to 0.11. 2014-01-10 17:18:15 -08:00
Yichun Zhang (agentzh) 5e9a5cdc95 upgraded lua-resty-redis to 0.18. 2014-01-10 17:08:00 -08:00
Yichun Zhang (agentzh) 85d38c49a2 upgraded lua-resty-memcached to 0.13. 2014-01-10 16:59:12 -08:00
Yichun Zhang (agentzh) 486b212269 upgraded lua-resty-lock to 0.02. 2014-01-10 16:44:53 -08:00
Yichun Zhang (agentzh) c1fb5194ef upgraded lua-resty-core to 0.0.3. 2014-01-10 16:29:29 -08:00
Yichun Zhang (agentzh) 87e5f34a9d upgraded ngx_srcache to 0.25. 2014-01-10 16:25:53 -08:00
Yichun Zhang (agentzh) e85568e044 upgraded ngx_set_misc to 0.24. 2014-01-10 16:10:44 -08:00
Yichun Zhang (agentzh) d093c84c8e upgraded ngx_headers_more to 0.25. 2014-01-10 16:04:19 -08:00
Yichun Zhang (agentzh) 613d5ad058 upgraded ngx_echo to 0.51. 2014-01-10 15:55:00 -08:00
Yichun Zhang (agentzh) 0794f667d6 upgraded ngx_lua to 0.9.4. 2014-01-10 15:43:51 -08:00
Yichun Zhang (agentzh) f830a55d2d updated the usage info for ./configure to reflect recent changes. 2014-01-09 22:05:32 -08:00
Yichun Zhang (agentzh) 2904556700 upgraded LuaJIT to v2.1-20140109. 2014-01-09 22:03:26 -08:00
Yichun Zhang (agentzh) 1c9f799fa6 now we default to LuaJIT instead of the standard Lua 5.1 interpreter. 2014-01-09 22:02:49 -08:00
Yichun Zhang (agentzh) 9a3e9dbffd bugfix: nginx's builtin resolver did not accept domain names with a trailing dot. 2014-01-08 11:50:58 -08:00
Yichun Zhang (agentzh) 793c541c45 upgraded LuaJIT to 2.1-20140101. 2014-01-01 18:12:31 -08:00
Yichun Zhang (agentzh) b7348233e8 upgraded ngx_lua to 0.9.4rc1. 2014-01-01 18:08:53 -08:00
Yichun Zhang (agentzh) 6dc6ba72d5 upgraded ngx_drizzle to 0.1.7. 2013-12-19 12:43:13 -08:00
Yichun Zhang (agentzh) 1eb135cc6a upraded the nginx core to 1.5.8. 2013-12-18 13:44:42 -08:00
Yichun Zhang (agentzh) 8cec47f755 upgraded the nginx core to 1.5.7. 2013-12-15 13:21:56 -08:00
Yichun Zhang (agentzh) 02614af5ed bugfix: the include path for LuaJIT headers was still pointing to luajit-2.0, which should have been luajit-2.1 instead. thanks Tor Hveem for the report. 2013-12-14 18:44:59 -08:00
Yichun Zhang (agentzh) c338e4d0e2 bumped version to 1.4.3.7. 2013-12-14 16:05:18 -08:00
Yichun Zhang (agentzh) 374f575dfa upgraded ngx_memc to 0.14. 2013-12-14 15:32:54 -08:00
Yichun Zhang (agentzh) b53c539f7e upgraded ngx_set_misc to 0.23. 2013-12-14 14:36:42 -08:00
Yichun Zhang (agentzh) a16a33d417 upgraded ngx_rds_json to 0.13. 2013-12-14 14:27:38 -08:00
Yichun Zhang (agentzh) e3e60a3a68 upgraded ngx_headers_more to 0.24. 2013-12-14 14:23:45 -08:00
Yichun Zhang (agentzh) 71a675f4fb upgraded ngx_echo to 0.50. 2013-12-14 14:19:51 -08:00
Yichun Zhang (agentzh) adb00e91e7 upgraded LuaJIT to v2.1-20131211. 2013-12-14 14:14:26 -08:00
Yichun Zhang (agentzh) c6aad4deba upgraded ngx_lua to 0.9.3. 2013-12-14 13:30:18 -08:00
Yichun Zhang (agentzh) b8bf7bbb4c feature: bundle the lua-resty-core library, which reimplements ngx_lua's Lua API with LuaJIT FFI. 2013-12-14 13:21:41 -08:00
Yichun Zhang (agentzh) 0528788543 feature: added new configure option --with-pcre-conf-opt=OPTIONS to the nginx core to allow custom PCRE ./configure build options. thanks Lance Li for the original patch in #39. 2013-12-10 10:19:00 -08:00
Yichun Zhang (agentzh) 5be3b51678 upgraded ngx_array_var to 0.03. 2013-12-09 21:10:29 -08:00
Yichun Zhang (agentzh) 1728ca8c66 feature: applied the larger_max_error_str patch to the nginx core to allow error log messages up to 4096 bytes. 2013-12-05 20:33:30 -08:00
Yichun Zhang (agentzh) 157febe350 upgraded ngx_http_redis module to 0.3.7. 2013-12-03 12:07:10 -08:00
Yichun Zhang (agentzh) 8b86c72ea2 applied the official patch patch.2013.space.txt for the Nginx core to fix the security issue CVE-2013-4547. 2013-11-20 21:05:36 -08:00
Yichun Zhang (agentzh) 97622943d2 dist-check: explicitly specify gcc for Solaris. 2013-11-12 20:43:55 -08:00
Yichun Zhang (agentzh) 383ed9a47d bumped version to 1.4.3.4. 2013-11-12 19:54:50 -08:00
Yichun Zhang (agentzh) bd81be02ee bumped version to 1.4.3.3. 2013-11-06 13:14:12 -08:00
Yichun Zhang (agentzh) fa917e6620 upgraded ngx_lua to 0.9.2 and ngx_srcache to 0.24. 2013-11-06 12:09:22 -08:00
Yichun Zhang (agentzh) b694456ef3 bugfix: applied the cache_manager_exit patch to the nginx core to fix an issue when the cache manager process is shutting down. 2013-11-04 13:08:57 -08:00
Yichun Zhang (agentzh) 95d727fd8f bumped version to 1.4.3.1; also updated tests to reflect recent changes. 2013-10-29 12:10:20 -07:00
Yichun Zhang (agentzh) a860e4192c upgraded ngx_lua to 0.9.1. 2013-10-29 12:07:06 -07:00
Yichun Zhang (agentzh) 73201a29f7 upgraded ngx_rds_csv to 0.05. 2013-10-27 22:08:40 -07:00
Yichun Zhang (agentzh) 6522b3420c upgraded ngx_rds_json to 0.12. 2013-10-27 22:06:46 -07:00
Yichun Zhang (agentzh) 360aaab086 upgraded ngx_xss to 0.04. 2013-10-27 22:03:48 -07:00
Yichun Zhang (agentzh) 78cca18fef upgraded ngx_srcache to 0.23. 2013-10-27 21:59:52 -07:00
Yichun Zhang (agentzh) a06c2308e1 upgraded ngx_headers_more to 0.23. 2013-10-27 21:54:42 -07:00
Yichun Zhang (agentzh) d919948850 upgraded ngx_echo to 0.49. 2013-10-27 21:46:12 -07:00
Yichun Zhang (agentzh) cd3b7f3bfb upgraded lua-resty-redis to 0.17 and lua-resty-upload to 0.09. 2013-10-27 21:33:12 -07:00
Yichun Zhang (agentzh) d846011a3e upgraded lua-resty-mysql to 0.14. 2013-10-27 21:30:32 -07:00
Yichun Zhang (agentzh) e4ff7dbfac upgraded lua-resty-websocket to 0.02. 2013-10-27 21:26:27 -07:00
Yichun Zhang (agentzh) f35f66a487 feature: added patch nginx-1.4.3-proxy_host_port_vars to make $proxy_host and $proxy_port accessible for dynamic languages like Lua and Perl. 2013-10-27 15:37:11 -07:00
Yichun Zhang (agentzh) 1df484be52 bugfix: applied the cache_lock_hang_in_subreq patch to the nginx core to fix the request hang when using proxy_cache_lock in subrequests and the cache lock timeout happens. 2013-10-26 14:54:50 -07:00
Yichun Zhang (agentzh) 4308a5ca45 bugfix: applied the gzip_flush_bug.patch to the nginx core. see also http://mailman.nginx.org/pipermail/nginx-devel/2013-October/004429.html 2013-10-25 17:31:39 -07:00
Yichun Zhang (agentzh) 274b1b6778 bugfix: backported Maxim Dounin's patch to fix an issue in the ngx_gzip module: it did not clear r->connection->buffered when the pending data was already flushed out. this could hang ngx_lua's ngx.flush(true) call, for example. 2013-10-19 20:49:06 -07:00