I'v learned i18n locales file from svenfuchs/rails-i18n
one usage I don't get it: ... date: formats: default: ! '%m-%d-%Y' ...
What is "!" here meaning ?
if this is a stupid question, forgive me.
Thanks for help
I'v learned i18n locales file from svenfuchs/rails-i18n
one usage I don't get it: ... date: formats: default: ! '%m-%d-%Y' ...
What is "!" here meaning ?
if this is a stupid question, forgive me.
Thanks for help
It means it's a "non-specific tag", which just means it should be treated as a string or array, etc by whatever is handling the YAML.
See more here: http://yaml.org/refcard.html
And there's also a good explanation in this post: What does a single exclamation mark do in YAML?