RandomAPI / Randomuser.me-old-source

[Deprecated] PHP source for Random User Generator - Please take a look at the new Node version
https://randomuser.me
137 stars 48 forks source link

Capitalize proper nouns #12

Closed jameswagoner closed 9 years ago

jameswagoner commented 9 years ago

Would save some frustration and headaches of end-users not having to implement their own capitalizing functions

keitharm commented 9 years ago

Hi @wagonerwebworks! The reason why we don't capitalize proper nouns and don't format the timestamps of registered/dob is to keep the data in as "pure" a state as possible.

Many users use different formats for data, so by using the timestamps in place of a date like 12/25/2015 or by setting the proper nouns to all lowercase vs Dallas/DALLAS, we are able to leave the data in its simplest form for modification.