equal
deleted
inserted
replaced
375 dtz = dt.astimezone(self.tz) |
375 dtz = dt.astimezone(self.tz) |
376 |
376 |
377 # convert to date and use that |
377 # convert to date and use that |
378 return self._get_logfile_date(dtz.date()) |
378 return self._get_logfile_date(dtz.date()) |
379 |
379 |
380 def _get_logfile_date (self, d, load=True, stat=True, ignore_missing=True) : |
380 def _get_logfile_date (self, d, load=True, stat=False, ignore_missing=True) : |
381 """ |
381 """ |
382 Get the logfile corresponding to the given naive date in our timezone. |
382 Get the logfile corresponding to the given naive date in our timezone. |
383 |
383 |
384 If load is False, only test for the presence of the logfile, do not actually open it. If stat is given, |
384 If load is False, only test for the presence of the logfile, do not actually open it. If stat is given, |
385 then this returns the stat() result |
385 then this returns the stat() result |