Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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: 2 additions & 2 deletions courses.dist/modelCourse/templates/set0/paperHeaderFile0.pg
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ loadMacros(
"PGanswermacros.pl"
);

$dateTime = $formatedDueDate;
$dateTime = $formattedDueDate;

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,7 +9,7 @@ loadMacros(
"PGanswermacros.pl"
);

$dateTime = $formatedDueDate;
$dateTime = $formattedDueDate;

TEXT(EV2(<<EOT));
\noindent {\large \bf $studentName}
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