Home
last modified time | relevance | path

Searched refs:include_seconds (Results 1 – 5 of 5) sorted by relevance

/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/symfony/lib/helper/
H A DDateHelper.php68 function distance_of_time_in_words($from_time, $to_time = null, $include_seconds = false) argument
80 if (!$include_seconds)
167 function time_ago_in_words($from_time, $include_seconds = false) argument
169 return distance_of_time_in_words($from_time, time(), $include_seconds);
/dports/devel/py-asciimatics/asciimatics-1.13.0/asciimatics/widgets/
H A Dtimepicker.py32 10 if parent.include_seconds else 7, 5)
38 if self._parent.include_seconds:
46 if self._parent.include_seconds:
83 self.include_seconds = seconds
92 self._value.strftime("%H:%M:%S" if self.include_seconds else "%H:%M"),
/dports/finance/py-python-obelisk/python-obelisk-0.1.3/obelisk/
H A Dutil.py128 def age(from_date, since_date=None, target_tz=None, include_seconds=False): argument
143 if include_seconds:
/dports/finance/electrum/Electrum-4.1.5/electrum/
H A Dutil.py716 def age(from_date, since_date = None, target_tz=None, include_seconds=False): argument
724 td = time_difference(from_date - since_date, include_seconds)
728 def time_difference(distance_in_time, include_seconds): argument
734 if include_seconds:
H A Dinvoices.py98 status_str = _('Expires') + ' ' + age(expiration, include_seconds=True)