old_contents: // Helper for formatting amounts (e.g., '10.00 SGD')
  Handlebars.registerHelper('formatAmount', function (value, currency) {
  	var currencySymbols = {
  		'AUD': '$',
  		'GBP': '£',
  		'INR': '₹',
  		'EUR': '€',
  		'SGD': '$',
  		'USD': '$'
  	}
  
  	// escape amount value (just in case)
  	// Handlebars.Utils not in Meteor??
  	var amount = /*Handlebars.Utils.escapeExpression(*/value.toFixed(2)/*)*/
  
  	// return amount.toFixed(2) + ' ' + currency
  	return new Handlebars.SafeString('<i class="currency-symbol">' + (currencySymbols[currency] || currency + ' ') + '</i>' + amount)
  })
  
  // Helper for formatting dates
  Handlebars.registerHelper('formatDate', function (format, date) {
  	var months = [
  		'January',
  		'February',
  		'March',
  		'April',
  		'May',
  		'June',
  		'July',
  		'August',
  		'September',
  		'October',
  		'November',
  		'December'
  	]
  
  	var days = [
  		'Monday',
  		'Tuesday',
  		'Wednesday',
  		'Thursday',
  		'Friday',
  		'Saturday',
  		'Sunday'
  	]
  
  	switch (format) {
  		case 'DATE_MONTH_YEAR':
  			return date.getDate() + ' ' + months[date.getMonth()] + ' ' + date.getFullYear()
  
  		case 'MONTH_YEAR':
  			return months[date.getMonth()] + ' ' + date.getFullYear()
  
  		case 'DAY':
  			return days[date.getDay()]
  
  		case 'DATE':
  			return date.getDate()
  
  		case 'INPUT_DATE':
  			return date.toISOString().split('T')[0]
  	}
  })
  
  // Format tags as space-separated list
  Handlebars.registerHelper('formatTags', function (tags) {
  	return tags.join(' ')
  })
new_contents: // Helper for formatting amounts (e.g., '10.00 SGD')
  Handlebars.registerHelper('formatAmount', function (value, currency) {
  	var currencySymbols = {
  		'AUD': '$',
  		'GBP': '£',
  		'INR': '₹',
  		'EUR': '€',
  		'SGD': '$',
  		'USD': '$'
  	}
  
  	// escape amount value (just in case)
  	// Handlebars.Utils not in Meteor??
  	var amount = /*Handlebars.Utils.escapeExpression(*/value.toFixed(2)/*)*/
  
  	// return amount.toFixed(2) + ' ' + currency
  	return new Handlebars.SafeString('<i class="currency-symbol">' + (currencySymbols[currency] || currency + ' ') + '</i>' + amount)
  })
  
  // Helper for formatting dates
  Handlebars.registerHelper('formatDate', function (format, date) {
  	var months = [
  		'January',
  		'February',
  		'March',
  		'April',
  		'May',
  		'June',
  		'July',
  		'August',
  		'September',
  		'October',
  		'November',
  		'December'
  	]
  
  	var days = [
  		'Sunday',
  		'Monday',
  		'Tuesday',
  		'Wednesday',
  		'Thursday',
  		'Friday',
  		'Saturday'
  	]
  
  	switch (format) {
  		case 'DATE_MONTH_YEAR':
  			return date.getDate() + ' ' + months[date.getMonth()] + ' ' + date.getFullYear()
  
  		case 'MONTH_YEAR':
  			return months[date.getMonth()] + ' ' + date.getFullYear()
  
  		case 'DAY':
  			return days[date.getDay()]
  
  		case 'DATE':
  			return date.getDate()
  
  		case 'INPUT_DATE':
  			return date.toISOString().split('T')[0]
  	}
  })
  
  // Format tags as space-separated list
  Handlebars.registerHelper('formatTags', function (tags) {
  	return tags.join(' ')
  })
subject: Fix day name bug