~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to doc/template.py

  • Committer: dcoles
  • Date: 2008-08-06 04:52:58 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:984
Groups: Added userservice/create_project call. You can now create a project in 
the database if you have CAP_MANAGEPROJECTS.
Also tried to standardise dates. ISO 8601 seems to be the best option (short of  
using the unix time which is pretty unreadable).
The 'deadline' parameter expects a ISO 8601 like string (at the moment 
something in the same form as what json.js does when called to parse a Date 
instance ie.  `(new Date()).toJSON()`). Really we should be far more flexible 
than that, but Python surprsingly doesn't have a good way to deal with ISO 
dates. We might have to write our own parser - see common.util.parse_iso8601() 
for an absolute minimal implementation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# IVLE - Informatics Virtual Learning Environment
2
 
# Copyright (C) 2007-2009 The University of Melbourne
 
2
# Copyright (C) 2007-2008 The University of Melbourne
3
3
#
4
4
# This program is free software; you can redistribute it and/or modify
5
5
# it under the terms of the GNU General Public License as published by
15
15
# along with this program; if not, write to the Free Software
16
16
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17
17
 
 
18
# Module:
18
19
# Author:
19
 
 
20
 
"""Brief description of the module
21
 
 
22
 
Details of the module.
23
 
"""
 
20
# Date:
 
21
 
 
22
# Brief description of the Module