Skip to content

Instantly share code, notes, and snippets.

@timbaas
Created September 10, 2015 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timbaas/5fae56ff5c05d9fb9412 to your computer and use it in GitHub Desktop.
Save timbaas/5fae56ff5c05d9fb9412 to your computer and use it in GitHub Desktop.
var time = {
long: {
hour: 'numeric',
minute: 'numeric',
second: 'numeric'
}
};
var date = {
long: {
day: "numeric",
month: "long",
year: "numeric"
},
normal: {
weekday: 'long',
year: 'numeric',
month: 'long',
day: 'numeric'
}
};
var number = {
EUR: { style: 'currency', currency: 'EUR' },
USD: { style: 'currency', currency: 'USD' }
};
export default {
time: time,
date: date,
number: number
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment