Commit ee4b9bcb3d13e3a617c7b5d53fa475d88b458db0

Authored by Adhidarma Hadiwinoto
1 parent 492e219efa
Exists in master

timestamp

Showing 2 changed files with 4 additions and 1 deletions Side-by-side Diff

... ... @@ -48,7 +48,8 @@ app.get('/', function(req, res) {
48 48  
49 49 res.render('basic_template.html', {
50 50 title: 'Supplier Balances',
51   - balances: balances
  51 + balances: balances,
  52 + timestamp: new Date(),
52 53 });
53 54 })
54 55  
views/basic_template.html
... ... @@ -32,6 +32,8 @@
32 32 </tr>
33 33 {/for}
34 34 </table>
  35 +
  36 + Generated on {timestamp}
35 37  
36 38  
37 39 <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->