Mercurial > p > roundup > code
comparison roundup/date.py @ 501:e0944187229f
missed an import _
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 08 Jan 2002 11:56:24 +0000 |
| parents | 2f4c37d28108 |
| children | 22e0edf7da6e |
comparison
equal
deleted
inserted
replaced
| 500:3df718d48a5d | 501:e0944187229f |
|---|---|
| 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" | 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
| 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 17 # | 17 # |
| 18 # $Id: date.py,v 1.15 2002-01-05 02:27:00 richard Exp $ | 18 # $Id: date.py,v 1.16 2002-01-08 11:56:24 richard Exp $ |
| 19 | 19 |
| 20 __doc__ = """ | 20 __doc__ = """ |
| 21 Date, time and time interval handling. | 21 Date, time and time interval handling. |
| 22 """ | 22 """ |
| 23 | 23 |
| 24 import time, re, calendar | 24 import time, re, calendar |
| 25 from i18n import _ | |
| 25 | 26 |
| 26 class Date: | 27 class Date: |
| 27 ''' | 28 ''' |
| 28 As strings, date-and-time stamps are specified with the date in | 29 As strings, date-and-time stamps are specified with the date in |
| 29 international standard format (yyyy-mm-dd) joined to the time | 30 international standard format (yyyy-mm-dd) joined to the time |
| 376 if __name__ == '__main__': | 377 if __name__ == '__main__': |
| 377 test() | 378 test() |
| 378 | 379 |
| 379 # | 380 # |
| 380 # $Log: not supported by cvs2svn $ | 381 # $Log: not supported by cvs2svn $ |
| 382 # Revision 1.15 2002/01/05 02:27:00 richard | |
| 383 # I18N'ification | |
| 384 # | |
| 381 # Revision 1.14 2001/11/22 15:46:42 jhermann | 385 # Revision 1.14 2001/11/22 15:46:42 jhermann |
| 382 # Added module docstrings to all modules. | 386 # Added module docstrings to all modules. |
| 383 # | 387 # |
| 384 # Revision 1.13 2001/09/18 22:58:37 richard | 388 # Revision 1.13 2001/09/18 22:58:37 richard |
| 385 # | 389 # |
