Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions courses.dist/modelCourse/templates/set0/paperHeaderFile0.pg
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@ loadMacros(
"PGanswermacros.pl"
);

$dateTime = $formatedDueDate;

TEXT(EV2(<<EOT));
\noindent {\large \bf $studentName}
\hfill
{\large \bf {\{protect_underbar($courseName)\}}}
\par
\noindent{\large \bf {Assignment \{protect_underbar($setNumber)\} closes $formatedDueDate}}
\noindent{\large \bf {Assignment \{protect_underbar($setNumber)\} closes $formattedDueDate}}
\par\noindent
This first set (set 0) is designed to acquaint you with using WeBWorK.
{\bf Your score on this set will not be counted toward your final grade.}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ loadMacros(


BEGIN_TEXT;
WeBWorK assignment number $setNumber is closes $formatedDueDate.
WeBWorK assignment number $setNumber is closes $formattedDueDate.

$PAR
This first problem set (set 0) is designed to acquaint you with using WeBWorK.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@ loadMacros(
"PGanswermacros.pl"
);

$dateTime = $formatedDueDate;

TEXT(EV2(<<EOT));
\noindent {\large \bf $studentName}
\hfill
\noindent {\large \bf MAA Minicourse San Diego January 2002}
\par
\noindent{\large \bf Homework Set $setNumber closes $dateTime}\par
\noindent{\large \bf Homework Set $setNumber closes $formattedDueDate}\par

\noindent This is a demonstration set designed to show you some types of questions
that can be asked using WeBWorK.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $HR
Use this box to give information about this problem
set. Typical information might include some of these facts:
$PAR
WeBWorK assignment number $setNumber closes on : $formatedDueDate.
WeBWorK assignment number $setNumber closes on : $formattedDueDate.


$PAR
Expand Down Expand Up @@ -74,4 +74,4 @@ Along with the \{htmlLink(qq!http://webwork.maa.org/wiki/Units!, "list of units"
physics problems.
END_TEXT

ENDDOCUMENT();
ENDDOCUMENT();
1 change: 0 additions & 1 deletion doc/devel/daemon-problem-environment
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
externalPng2EpsPath
externalTTHPath
fileName
formatedDueDate
formattedAnswerDate
formattedDueDate
formattedOpenDate
Expand Down
2 changes: 0 additions & 2 deletions lib/WeBWorK/Utils/Rendering.pm
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ sub constructPGOptions ($ce, $user, $set, $problem, $psvn, $formFields, $transla
my $db_date = $date =~ s/D/_d/r;
$options{$date} = $set->$db_date;
$options{ 'formatted' . ucfirst($date) } = formatDateTime($options{$date}, $ce->{siteDefaults}{timezone});
# This is provided due to a typo in many header files.
$options{ 'formated' . ucfirst($date) } = $options{ 'formatted' . ucfirst($date) };
my $uc_date = ucfirst($date);
for (
[ 'DayOfWeek', '%A' ],
Expand Down