/dports/audio/ampache/ampache-php74-5.0.0/src/Module/Util/ |
H A D | Graph.php | 88 $start_date = null, argument 91 $start_date = (int)($start_date); 129 $start_date = null, argument 132 $start_date = (int)($start_date); 170 $start_date = null, argument 216 $start_date = null, argument 249 $start_date = null, argument 290 $start_date = null, argument 329 $start_date = null, argument 429 $start_date = $start_date ?: ($end_date ?: time()) - 864000; [all …]
|
/dports/graphics/py-traitsui/traitsui-7.1.1/traitsui/qt4/ |
H A D | date_range_editor.py | 24 start_date, end_date = self.value 39 start_date, end_date = self.value 43 and start_date is not None 45 and start_date < end_date 51 if start_date is None: 52 start_date = value 57 if start_date != end_date: 58 start_date = value 61 elif value > start_date: 65 start_date = value [all …]
|
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/hr_holidays/report/ |
H A D | holidays_summary_report.py | 17 st_date = fields.Date.from_string(start_date) 27 def _get_day(self, start_date): argument 29 start_date = fields.Date.from_string(start_date) 32 … res.append({'day_str': start_date.strftime('%a'), 'day': start_date.day , 'color': color}) 33 start_date = start_date + relativedelta(days=1) 36 def _get_months(self, start_date): argument 39 start_date = fields.Date.from_string(start_date) 41 while start_date <= end_date: 53 start_date = fields.Date.from_string(start_date) 56 current = start_date + timedelta(index) [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/buildscripts/tests/ |
H A D | test_test_failures.py | 270 start_date=datetime.date(2017, 6, 5), 283 start_date=datetime.date(2017, 6, 3), 314 start_date=datetime.date(2017, 6, 5), 321 start_date=datetime.date(2017, 6, 3), 351 start_date=datetime.date(2017, 6, 5), 359 start_date=datetime.date(2017, 6, 3), 384 start_date=datetime.date(2017, 6, 3), 407 start_date=datetime.date(2017, 6, 5), 415 start_date=datetime.date(2017, 6, 3), 441 start_date=datetime.date(2017, 6, 3), [all …]
|
/dports/devel/py-apscheduler/APScheduler-3.8.1/tests/ |
H A D | test_triggers.py | 254 trigger = CronTrigger(year=2014, hour=4, start_date=start_date) 255 assert trigger.timezone == start_date.tzinfo 263 start_date.replace(day=12, hour=4, minute=0) 291 start_date = timezone.localize(start_date, is_dst=start_date_dst) 350 start_date = timezone.localize(start_date, is_dst=start_date_dst) 466 now = trigger.start_date - timedelta(seconds=2) 492 trigger = IntervalTrigger(minutes=5, start_date=start_date, 495 start_date.replace(minute=5) 507 trigger = IntervalTrigger(hours=1, start_date=start_date, timezone=eastern) 564 start_date = timezone.localize(start_date, is_dst=start_date_dst) [all …]
|
/dports/security/silktools/silk-3.19.1/src/pysilk/python/ |
H A D | fglob.py | 33 start_date=None, argument 40 if not (classname or type or sensors or start_date or end_date): 43 if end_date and not start_date: 56 if isinstance(start_date, datetime): 57 start_date = start_date.strftime("%Y/%m/%d:%H") 58 elif isinstance(start_date, date): 59 start_date = start_date.strftime("%Y/%m/%d") 60 elif isinstance(start_date, time): 61 start_date = datetime.combine(date.today(), start_date) 62 start_date = start_date.strftime("%Y/%m/%d:%H") [all …]
|
/dports/deskutils/myitcrm/MyITCRM-0.2.9.3/modules/stats/ |
H A D | main.php | 13 $start_date = date_to_timestamp($db, $VAR['start_date']); variable 14 $smarty->assign('start_date', $start_date); 20 …S count FROM ".PRFX."TABLE_WORK_ORDER WHERE WORK_ORDER_OPEN_DATE >= '$start_date' AND WORK_ORDER_… 29 … count FROM ".PRFX."TABLE_WORK_ORDER WHERE WORK_ORDER_CLOSE_DATE >= '$start_date' AND WORK_ORDER_… 38 … count(*) AS count FROM ".PRFX."TABLE_CUSTOMER WHERE CREATE_DATE >= '$start_date' AND CREATE_DATE… 57 … count(*) AS count FROM ".PRFX."TABLE_INVOICE WHERE INVOICE_DATE >= '$start_date' AND INVOICE_DAT… 67 … count(*) AS count FROM ".PRFX."TABLE_INVOICE WHERE INVOICE_DATE >= '$start_date' AND INVOICE_DAT… 195 …oice_sub_total_sum FROM ".PRFX."TABLE_INVOICE WHERE INVOICE_DATE >= '$start_date' AND INVOICE_DAT… 206 …voice_discount_sum FROM ".PRFX."TABLE_INVOICE WHERE INVOICE_DATE >= '$start_date' AND INVOICE_DAT… 216 …voice_shipping_sum FROM ".PRFX."TABLE_INVOICE WHERE INVOICE_DATE >= '$start_date' AND INVOICE_DAT… [all …]
|
/dports/www/p5-HTML-FormHandler/HTML-FormHandler-0.40068/t/render/ |
H A D | compound.t | 61 has_field 'start_date.month' => ( type => 'Integer', range_start => 1, 63 has_field 'start_date.day' => ( type => 'Integer', range_start => 1, 70 my $params = { 'start_date.month' => 7, 'start_date.day' => 14, 'start_date.year' => '2006' }; 73 $rendered = $form->field('start_date')->render; 75 '<fieldset class="start_date" id="start_date"><legend>Start date</legend> 77 <label for="start_date.month">Month: </label> 78 <input type="text" name="start_date.month" id="start_date.month" size="8" value="7" /> 81 <label for="start_date.day">Day: </label> 82 <input type="text" name="start_date.day" id="start_date.day" size="8" value="14" /> 85 <label for="start_date.year">Year: </label> [all …]
|
H A D | result.t | 30 has_field 'start_date' => ( type => 'DateTime' ); 48 'start_date.day', 'start_date.year'] ] } ); 81 'start_date.month' => '7', 82 'start_date.day' => '14', 83 'start_date.year' => '2006', 110 'start_date.month' => '9', 111 'start_date.day' => '14', 112 'start_date.year' => '2008', 137 is_html( $result1->field('start_date.month')->render, $form->field('start_date.month')->render, 'no… 138 is_html( $result1->field('start_date.day')->render, $form->field('start_date.day')->render, 'no dif… [all …]
|
/dports/devel/bugzilla50/bugzilla-5.0.4/ |
H A D | summarize_time.cgi | 91 my ($start_date, $end_date) = @_; 142 my ($start_date, $end_date) = @_; 145 if ($start_date) { 147 trick_taint($start_date); 149 push @date_values, $start_date; 269 my ($start_date, $end_date); 292 if ($start_date && $end_date && 295 ($start_date, $end_date) = ($end_date, $start_date); 310 if (!$start_date) { 319 @parts = ([$start_date, $end_date]); [all …]
|
/dports/devel/bugzilla44/bugzilla-4.4.13/ |
H A D | summarize_time.cgi | 89 my ($start_date, $end_date) = @_; 140 my ($start_date, $end_date) = @_; 143 if ($start_date) { 145 trick_taint($start_date); 147 push @date_values, $start_date; 267 my ($start_date, $end_date); 290 if ($start_date && $end_date && 293 ($start_date, $end_date) = ($end_date, $start_date); 308 if (!$start_date) { 317 @parts = ([$start_date, $end_date]); [all …]
|
/dports/games/wyrmsun/Wyrmsun-3.5.4/data/historical_units/goblins/ |
H A D | aurvangling_archers.cfg | 7 start_date = -2999 20 start_date = -2999 33 start_date = -2999 46 start_date = -2999 59 start_date = -2999 72 start_date = -2999 85 start_date = -2999 98 start_date = -2999 111 start_date = -2999 124 start_date = -2999 [all …]
|
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/apscheduler/triggers/ |
H A D | interval.py | 28 def __init__(self, weeks=0, days=0, hours=0, minutes=0, seconds=0, start_date=None, argument 39 elif isinstance(start_date, datetime) and start_date.tzinfo: 40 self.timezone = start_date.tzinfo 46 start_date = start_date or (datetime.now(self.timezone) + self.interval) 47 self.start_date = convert_to_datetime(start_date, self.timezone, 'start_date') 55 elif self.start_date > now: 56 next_fire_time = self.start_date 58 timediff_seconds = timedelta_seconds(now - self.start_date) 60 next_fire_time = self.start_date + self.interval * next_interval_num 72 'start_date': self.start_date, [all …]
|
/dports/multimedia/tautulli/Tautulli-2.8.0/lib/apscheduler/triggers/ |
H A D | interval.py | 28 def __init__(self, weeks=0, days=0, hours=0, minutes=0, seconds=0, start_date=None, argument 39 elif isinstance(start_date, datetime) and start_date.tzinfo: 40 self.timezone = start_date.tzinfo 46 start_date = start_date or (datetime.now(self.timezone) + self.interval) 47 self.start_date = convert_to_datetime(start_date, self.timezone, 'start_date') 55 elif self.start_date > now: 56 next_fire_time = self.start_date 58 timediff_seconds = timedelta_seconds(now - self.start_date) 60 next_fire_time = self.start_date + self.interval * next_interval_num 72 'start_date': self.start_date, [all …]
|
/dports/devel/py-apscheduler/APScheduler-3.8.1/apscheduler/triggers/ |
H A D | interval.py | 28 def __init__(self, weeks=0, days=0, hours=0, minutes=0, seconds=0, start_date=None, argument 39 elif isinstance(start_date, datetime) and start_date.tzinfo: 40 self.timezone = start_date.tzinfo 46 start_date = start_date or (datetime.now(self.timezone) + self.interval) 47 self.start_date = convert_to_datetime(start_date, self.timezone, 'start_date') 55 elif self.start_date > now: 56 next_fire_time = self.start_date 58 timediff_seconds = timedelta_seconds(now - self.start_date) 60 next_fire_time = self.start_date + self.interval * next_interval_num 72 'start_date': self.start_date, [all …]
|
/dports/multimedia/streamlink/streamlink-2.1.2/tests/streams/ |
H A D | test_hls_playlist.py | 87 start_date=None, 90 start_date=start_date, 93 start_date=start_date, 96 start_date=start_date, classname="bar", 99 start_date=start_date, duration=delta_30, 102 start_date=start_date, planned_duration=delta_15, 105 start_date=start_date, duration=delta_30, planned_duration=delta_15, 108 start_date=start_date, end_date=end_date, 111 start_date=start_date, end_date=end_date, duration=delta_30, 114 id=None, start_date=None, end_date=None, duration=None, [all …]
|
/dports/deskutils/phpicalendar/phpicalendar-2.4/functions/parse/ |
H A D | end_vevent.php | 13 if (!isset($start_date)) $start_date = "19700101"; variable 50 $allday_start = $start_date; 51 $allday_end = ($start_date + 1); 91 $start_date = $allday_start; variable 98 $rrule_array['START_DATE'] = $start_date; 122 $recur_array[($start_date)][($hour.$minute)][$uid]['recur'][$key] = $count; 147 $recur_array[($start_date)][($hour.$minute)][$uid]['recur'][$key] = $byhour; 151 $recur_array[($start_date)][($hour.$minute)][$uid]['recur'][$key] = $byday; 175 $recur_array[($start_date)][($hour.$minute)][$uid]['recur'][$key] = $wkst; 184 if (isset($recur_array[($start_date)][($hour.$minute)][$uid]['recur'])) $recur = $recur_array[($sta… [all …]
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/lib/gitlab/usage/metrics/aggregates/sources/ |
H A D | redis_hll_spec.rb | 13 …described_class.calculate_metrics_union(metric_names: event_names, start_date: start_date, end_dat… 18 … .with(event_names: event_names, start_date: start_date, end_date: end_date) 33 …class.calculate_metrics_intersections(metric_names: event_names, start_date: start_date, end_date:… 39 … .with(metric_names: event, start_date: start_date, end_date: end_date, recorded_at: recorded_at) 44 ….with(metric_names: event_names, start_date: start_date, end_date: end_date, recorded_at: recorded…
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/gitlab/usage/metrics/aggregates/ |
H A D | aggregate.rb | 16 …aggregated_metrics_data(start_date: nil, end_date: nil, time_frame: Gitlab::Usage::TimeFrame::ALL_… 31 def aggregated_metrics_data(start_date:, end_date:, time_frame:) argument 45 …me]] = calculate_count_for_aggregation(aggregation: aggregation, start_date: start_date, end_date:… 48 …me]] = calculate_count_for_aggregation(aggregation: aggregation, start_date: start_date, end_date:… 58 def calculate_count_for_aggregation(aggregation:, start_date:, end_date:) argument 63 …urce.calculate_metrics_union(metric_names: aggregation[:events], start_date: start_date, end_date:… 65 …culate_metrics_intersections(metric_names: aggregation[:events], start_date: start_date, end_date:…
|
/dports/www/drupal8/drupal-8.9.20/core/modules/datetime_range/src/Plugin/Field/FieldWidget/ |
H A D | DateRangeWidgetBase.php | 33 if ($items[$delta]->start_date) { 35 $start_date = $items[$delta]->start_date; 36 …$element['value']['#default_value'] = $this->createDefaultValue($start_date, $element['value']['#d… 70 $start_date = $item['value']; 77 $start_date->setTimeZone($user_timezone)->setTime(0, 0, 0); 81 $item['value'] = $start_date->setTimezone($storage_timezone)->format($storage_format); 116 $start_date = $element['value']['#value']['object']; 119 if ($start_date instanceof DrupalDateTime && $end_date instanceof DrupalDateTime) { 120 if ($start_date->getTimestamp() !== $end_date->getTimestamp()) { 121 $interval = $start_date->diff($end_date);
|
/dports/www/drupal9/drupal-9.2.10/core/modules/datetime_range/src/Plugin/Field/FieldWidget/ |
H A D | DateRangeWidgetBase.php | 33 if ($items[$delta]->start_date) { 35 $start_date = $items[$delta]->start_date; 36 …$element['value']['#default_value'] = $this->createDefaultValue($start_date, $element['value']['#d… 70 $start_date = $item['value']; 77 $start_date->setTimeZone($user_timezone)->setTime(0, 0, 0); 81 $item['value'] = $start_date->setTimezone($storage_timezone)->format($storage_format); 116 $start_date = $element['value']['#value']['object']; 119 if ($start_date instanceof DrupalDateTime && $end_date instanceof DrupalDateTime) { 120 if ($start_date->getTimestamp() !== $end_date->getTimestamp()) { 121 $interval = $start_date->diff($end_date);
|
/dports/www/py-weboob/weboob-2.0/weboob/applications/boobcoming/ |
H A D | boobcoming.py | 40 if not empty(obj.start_date): 63 start_date = obj.start_date if not empty(obj.start_date) else datetime.now() 64 if isinstance(start_date, datetime): 65 start_date = start_date.replace(tzinfo=event_timezone) 66 utc_start_date = start_date.astimezone(utc_zone) 126 if not empty(obj.start_date): 146 if not empty(obj.start_date): 223 if obj1.start_date == obj2.start_date: 225 if obj1.start_date > obj2.start_date: 272 if end_date == start_date: [all …]
|
/dports/net-im/gajim/gajim-gajim-1.3.3/gajim/common/modules/ |
H A D | mam.py | 277 start_date = None 286 own_jid, start_date) 287 return mam_id, start_date 292 start_date = None 298 jid, start_date) 329 return mam_id, start_date 365 if start_date is not None: 447 start_date, argument 467 start=start_date, 484 if start_date: [all …]
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/gitlab/usage/metrics/aggregates/sources/calculations/ |
H A D | intersection.rb | 10 …def calculate_metrics_intersections(metric_names:, start_date:, end_date:, recorded_at:, subset_po… argument 18 …subset_powers_data = subsets_intersection_powers(metric_names, start_date, end_date, recorded_at, … 23 …calculate_metrics_union(metric_names: metric_names, start_date: start_date, end_date: end_date, re… 43 …def subsets_intersection_powers(metric_names, start_date, end_date, recorded_at, subset_powers_cac… argument 51 …calculate_metrics_intersections(metric_names: metrics_subset, start_date: start_date, end_date: en… 57 …calculate_metrics_union(metric_names: metric, start_date: start_date, end_date: end_date, recorded…
|
/dports/www/py-sentinelhub/sentinelhub-3.4.1/sentinelhub/ |
H A D | opensearch.py | 58 start_date, end_date = parse_time_interval(time) 61 for tile_info in search_iter(start_date=start_date, end_date=end_date): 95 result_list = search_iter(bbox=bbox, start_date=date_interval[0], end_date=date_interval[1]) 131 def search_iter(tile_id=None, bbox=None, start_date=None, end_date=None, absolute_orbit=None, confi… argument 157 start_date = parse_time(start_date) if start_date else None 160 url_params = _prepare_url_params(tile_id, bbox, end_date, start_date, absolute_orbit) 181 def _prepare_url_params(tile_id, bbox, end_date, start_date, absolute_orbit): argument 200 'startDate': serialize_time(start_date, use_tz=False) if start_date else None,
|