Blog Archive for December 10, 2009

Django Date Reference

December 10, 2009

Common Examples

  • |date:"jS F Y, H:i" - 16th December 2009, 14:44


  • a 'a.m.' or 'p.m.' (Note that this is slightly different than PHP's output, because this includes periods to match Associated Press style.) ('a.m.')
  • A 'AM' or 'PM'. ('AM')
  • b Month, textual, 3 ...

JavaScript Reference

December 10, 2009

Interacting with Urls

How to use Javascript to manipulate the URL

document.location = lNewUrl; // load a new page in the browser

document.location.reload(true); // reload the current page