/unit/docs/ |
H A D | changes.xsls | 63 X:var date_ = { !getdate(date="@date", curdate="$curdate") } 65 X:var pday = { !padded_day(date="$date_") } 66 X:var dow = { !day_of_week(date="$date_") } 206 X:template day_of_week(date) { 207 X:param year = "substring-before($date, '-')"; 208 X:param month = "substring-before(substring-after($date, '-'), '-')"; 209 X:param day = "substring-after(substring-after($date, '-'), '-')"; 222 X:template padded_day(date) { 260 X:template getdate(date, curdate) { 262 X:when "$date=''" { [all …]
|
H A D | Makefile | 19 CURDATE:=$(shell date +"%Y-%m-%d") 20 CURTIME:=$(shell date +"%H:%M:%S %z")
|
/unit/src/java/nginx/unit/ |
H A D | IncludeResponseWrapper.java | 28 public void addDateHeader(String name, long date) in addDateHeader() argument 30 trace("addDateHeader: " + name + ": " + date); in addDateHeader() 52 public void setDateHeader(String name, long date) in setDateHeader() argument 54 trace("setDateHeader: " + name + ": " + date); in setDateHeader()
|
H A D | Response.java | 207 public void addDateHeader(String name, long date) in addDateHeader() argument 209 trace("addDateHeader: " + name + ": " + date); in addDateHeader() 215 String value = dateToString(date); in addDateHeader() 221 private static String dateToString(long date) in dateToString() argument 223 Date dateValue = new Date(date); in dateToString() 454 public void setDateHeader(String name, long date) in setDateHeader() argument 456 trace("setDateHeader: " + name + ": " + date); in setDateHeader() 462 String value = dateToString(date); in setDateHeader()
|
H A D | Request.java | 219 Date date = null; in parseDate() local 220 for (int i = 0; (date == null) && (i < formats.length); i++) { in parseDate() 222 date = formats[i].parse(value); in parseDate() 227 if (date == null) { in parseDate() 230 return date.getTime(); in parseDate()
|
/unit/test/ |
H A D | test_go_application.py | 30 date = headers.pop('Date') 31 assert date[-4:] == ' GMT', 'date header timezone' 32 assert abs(date_to_sec_epoch(date) - sec_epoch) < 5, 'date header'
|
H A D | test_perl_application.py | 35 date = headers.pop('Date') 36 assert date[-4:] == ' GMT', 'date header timezone' 37 assert abs(date_to_sec_epoch(date) - sec_epoch) < 5, 'date header'
|
H A D | test_node_application.py | 70 date = headers.pop('Date') 71 assert date[-4:] == ' GMT', 'date header timezone' 72 assert abs(date_to_sec_epoch(date) - sec_epoch) < 5, 'date header'
|
H A D | test_php_application.py | 135 date = headers.pop('Date') 136 assert date[-4:] == ' GMT', 'date header timezone' 137 assert abs(date_to_sec_epoch(date) - sec_epoch) < 5, 'date header' 674 date = errs[0].split('[')[0] 676 assert date != date2, 'date diff'
|
H A D | test_ruby_application.py | 36 date = headers.pop('Date') 37 assert date[-4:] == ' GMT', 'date header timezone' 38 assert abs(date_to_sec_epoch(date) - sec_epoch) < 5, 'date header'
|
H A D | test_asgi_application.py | 40 date = headers.pop('Date') 41 assert date[-4:] == ' GMT', 'date header timezone' 42 assert abs(date_to_sec_epoch(date) - sec_epoch) < 5, 'date header'
|
H A D | test_java_application.py | 938 date = 'Fri, 15 Mar 2019 14:45:34 GMT' 942 'X-Header': date, 952 assert headers['X-Get-Date'] == date, 'get date header'
|
H A D | test_variables.py | 195 date = search_in_file(r'^\/time_local (.*) \/time_local$', 'access.log')[1] 198 date_to_sec_epoch(date, '%d/%b/%Y:%X %z')
|
H A D | test_python_application.py | 46 date = headers.pop('Date') 47 assert date[-4:] == ' GMT', 'date header timezone' 48 assert abs(date_to_sec_epoch(date) - sec_epoch) < 5, 'date header'
|
H A D | conftest.py | 629 def _date_to_sec_epoch(date, template='%a, %d %b %Y %X %Z'): argument 630 return time.mktime(time.strptime(date, template))
|
/unit/src/nodejs/unit-http/ |
H A D | utils.js | 64 var date = entry[0].toLocaleString(); 69 args.splice(0, 1, formatString, date, uniqueID);
|
/unit/src/ |
H A D | nxt_http_response.c | 25 offsetof(nxt_http_request_t, resp.date) },
|
H A D | nxt_http_request.c | 636 nxt_http_field_t *server, *date, *content_length; in nxt_http_request_header_send() local 661 if (r->resp.date == NULL) { in nxt_http_request_header_send() 662 date = nxt_list_zero_add(r->resp.fields); in nxt_http_request_header_send() 663 if (nxt_slow_path(date == NULL)) { in nxt_http_request_header_send() 667 nxt_http_field_name_set(date, "Date"); in nxt_http_request_header_send() 676 date->value = p; in nxt_http_request_header_send() 677 date->value_length = nxt_http_date_cache.size; in nxt_http_request_header_send() 679 r->resp.date = date; in nxt_http_request_header_send()
|
H A D | nxt_http_proxy.c | 399 r->resp.date = field; in nxt_http_proxy_date()
|
H A D | nxt_http.h | 109 nxt_http_field_t *date; member
|
/unit/ |
H A D | LICENSE | 88 as of the date such litigation is filed.
|
/unit/pkg/deb/debian.module/ |
H A D | copyright.unit-jsc-common | 247 under Section 2(b) shall terminate as of the date such litigation is filed. 373 as of the date such litigation is filed. 586 effective on the date Initial Developer first distributes 623 effective on the date Contributor first distributes or
|
/unit/pkg/rpm/rpmbuild/SOURCES/ |
H A D | COPYRIGHT.unit-jsc-common | 247 under Section 2(b) shall terminate as of the date such litigation is filed. 373 as of the date such litigation is filed. 586 effective on the date Initial Developer first distributes 623 effective on the date Contributor first distributes or
|