Posts made by Joseph Rézeau

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators
Marija > 2. There were again some problems with the Date question. I have troubles entering date of birth in the required format (and any other, for that matter). A friend of mine was, while testing, entered 6/6/1666 as a date, but it was automatically converted into 31/12/1969.

The date format is using the php mktime function. This is very useful for automatic date checking and (re-)formatting. For example, the following conversions will occur:

date entered
date displayed
16/9/07
16/09/2007
32/1/08 wide eyes
31/01/2008
29/2/2007 (not a leap year!)
1/03/2007
6/6/1666
31/12/1969 or 1/1/1970

However, this type of date is supposed to apply to "current" dates, and thus only applies in the range of years from 1902 to 2037. In the context of questionnaires/surveys, etc. the date-type field is supposed to be used mainly for entering current dates, such as date-of-birth, date of applying for a job, date for an appointement, etc.

Another reason for this "restricted" range of dates is the ability of e.g. MS Office to format the date field at will (when the questionnaire data is exported to CSV and Excel) for dates in this range, but not for dates outside the range.

If a date outside the 1902-2037 range is absolutely needed as a response, I suggest using the plain text box format.

However, to make things more clear to respondent, I have modified the date question type behavior to issue an ERROR statement instead of reformating to 1/1/1970 when the date entered is not in the expected 1902-2037 range. This will take effect when I update to CVS in the coming days.

Joseph

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators
Hi Justin and welcome to the "Powerpoint to Moodle Lesson import nightmare".evil
  1. It would help a lot if you mentioned which version of Moodle and which version of Powerpoint (MS Office) you are using.
  2. Are there a lot of "fancy" formatting, pictures, etc. in your PPT presentation?
  3. Have you tried with a very simple PPT (a couple of pages, no images, etc.) first?
  4. Could you post a sample (short) PPT file here?
  5. These discussions may help (or not):
    1. http://moodle.org/mod/forum/discuss.php?d=59134&parent=269941
    2. http://moodle.org/mod/forum/discuss.php?d=79437&parent=352911
    3. http://moodle.org/mod/forum/discuss.php?d=24572#p249808

Best advice I can give is to avoid importing PPT into the Moodle Lesson activity altogether.wink

Joseph