#2620 - Show day on date of birth when year hidden
| Identifier | #2620 |
|---|---|
| Issue type | Trivial issue (does not break functionality) |
| Title | Show day on date of birth when year hidden |
| Status | Closed (no changes needed) |
| Handling member | Chris Graham |
| Addon | core |
| Description | Just been tinkering with my addon ideas a bit more, and as profiles are designed to be informative I think outputting the day would be useful. Certainly for my Astrologr addon (which hasn't progressed very much as I'm thinking I might need to make it into a module to have pages for each sign). Anyway, please output the day :)
In other news, I have made a TinyURL short link generator which appears on the Main Screen Actions block. Tried for hours to get to align right (then realised panels existed and decided not to bother with that). Made it as a Symbol as it might be useful in other areas (added it to the profile_screen.tpl but couldn't really get it where I wanted it (on the right of where the username is output). Anyhow, I think it's quite nifty, the API is free and the links are generated on-the-fly and are handy for mobile users and sharing links to websites not on the Main Screen Actions block. |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
(Click to enlarge)
(Click to enlarge)
I think you're saying the day of the week the birth happened on. I don't agree with that, I think it'd confuse people. Or maybe you mean the day of the next birthday, in which case we'd need to change the label to 'Birthday' instead. For that reason I'd rather avoid it as having the labels switch around starts introducing assumptions (e.g. a business site may not consider showing a birthday an equivalent to showing an abbreviated date of birth).
As a compromise I'll pass in {_DOB} and {_DOB_CENSORED} parameters. _DOB_CENSORED will take the reveal age restriction into account, so may be for the current year instead of birth year. You'll be able to do {$FROM_TIMESTAMP*,D,{_DOB_CENSORED}}
URL shortener:
That is really cool, want to release it? Forum would be the right place to discuss though, not tacked onto an unrelated private tracker issue :P.
I do plan to release the URL shortener but I wanted your approval of the idea first :)