216 | | # Default formatting for date objects. See all available format strings here: |
217 | | # http://www.djangoproject.com/documentation/templates/#now |
218 | | DATE_FORMAT = 'N j, Y' |
219 | | |
220 | | # Default formatting for datetime objects. See all available format strings here: |
221 | | # http://www.djangoproject.com/documentation/templates/#now |
222 | | DATETIME_FORMAT = 'N j, Y, P' |
223 | | |
224 | | # Default formatting for time objects. See all available format strings here: |
225 | | # http://www.djangoproject.com/documentation/templates/#now |
226 | | TIME_FORMAT = 'P' |
227 | | |
228 | | # Default formatting for date objects when only the year and month are relevant. |
229 | | # See all available format strings here: |
230 | | # http://www.djangoproject.com/documentation/templates/#now |
231 | | YEAR_MONTH_FORMAT = 'F Y' |
232 | | |
233 | | # Default formatting for date objects when only the month and day are relevant. |
234 | | # See all available format strings here: |
235 | | # http://www.djangoproject.com/documentation/templates/#now |
236 | | MONTH_DAY_FORMAT = 'F j' |
237 | | |
| 221 | ################# |
| 222 | # DATE AND TIME # |
| 223 | ################# |
| 224 | # Date and time notation according to international standard ISO 8601. |
| 225 | # More information here: |
| 226 | # http://www.w3.org/QA/Tips/iso-date |
| 227 | # http://www.cl.cam.ac.uk/~mgk25/iso-time.html |
| 228 | # http://en.wikipedia.org/wiki/ISO_8601 |
| 229 | |
| 230 | # See all available format strings here: |
| 231 | # http://www.djangoproject.com/documentation/templates/#now |
| 232 | |
| 233 | # Default local time zone. |
| 234 | TIME_ZONE = 'UTC' |
| 235 | |
| 236 | # Default formatting for date objects. |
| 237 | DATE_FORMAT = 'Y-m-d' |
| 238 | |
| 239 | # Default formatting for datetime objects. |
| 240 | DATETIME_FORMAT = 'Y-m-d H:iZ' |
| 241 | #DATETIME_FORMAT = 'Y-m-d H:i:sZ' # With seconds. |
| 242 | |
| 243 | # Default formatting for time objects. |
| 244 | TIME_FORMAT = 'H:iZ' |
| 245 | #TIME_FORMAT = 'H:i:sZ' # With seconds. |
| 246 | |
| 247 | # Default formatting for date objects when only the year and month are relevant. |
| 248 | YEAR_MONTH_FORMAT = 'Y-m' |
| 249 | |
| 250 | # Default formatting for date objects when only the month and day are relevant. |
| 251 | # Format doesn't valid in ISO-8601. |
| 252 | MONTH_DAY_FORMAT = '' |
| 253 | |