/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/timestamp.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 18:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521181028-zn04pdfw0od9hfj3
Rename brzlib => breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import time
21
21
import re
22
22
 
23
 
from brzlib import osutils
 
23
from breezy import osutils
24
24
 
25
25
 
26
26
def format_highres_date(t, offset=0):
36
36
    this will return a date stamp for right now,
37
37
    formatted for the local timezone.
38
38
 
39
 
    >>> from brzlib.osutils import format_date
 
39
    >>> from breezy.osutils import format_date
40
40
    >>> format_date(1120153132.350850105, 0)
41
41
    'Thu 2005-06-30 17:38:52 +0000'
42
42
    >>> format_highres_date(1120153132.350850105, 0)