Orioni Posted April 21 Posted April 21 Good afternoon, dear Invision Community, Context Some members of my own community have been around for years, if not decades. I would like to display this with automatic achievements. Problem A custom rule would allow me to do so. Unfortunately, the highest level you can set for this rule is “weeks”. Now, I considered using custom “days” to do this (1 year = 365 days; 2 years = 730 days; etc.). However, leap years throw a wrench, making the anniversary inaccurate. Question Is there another way to solve this, and achieve the result I'm looking for? SC36DC, Sonya* and SeNioR- 1 2
Marc Posted April 22 Posted April 22 I have moved this to our feedback forum for you, as unfortunately this isnt something I can think of a way around at present. SC36DC, Orioni and Ibai 2 1
GazzaGarratt Posted April 24 Posted April 24 This is how I do it @Orioni @Marc Stridgen as this equates to what you are trying to do: Basically, the best way is to just calculate the days in the years you want. Its not 100% technically correct with leap years, etc, but I can't see anyone disagreeing with this approach and its worked perfectly for us. Here's a few in the list I have set up: Hope this helps! 😄 raylight and Orioni 1 1
Marc Posted April 24 Posted April 24 The question there was how to do this without being broken due to leap years 🙂 Orioni 1
Nathan Explosion Posted April 26 Posted April 26 (edited) Use 365.25 days, as a year is 365.242 days in length (leap year adds up the .242 from the 4 years to add that extra day) When you save it, it will be saved and will be displayed as an hour amount of 8766 hours (=365.25 days) Edited April 26 by Nathan Explosion Sonya*, 403 - Forbiddeen and Orioni 2 1
Orioni Posted April 27 Author Posted April 27 @Marc Stridgen – Thank you for your clarity. I can live with the fact that a solution does not yet exist. Perhaps in the future this small feature might be considered. @GazzaGarratt & @Nathan Explosion – True. I'd also considered setting 365.25 days as a year. Then again, since not all members join in the same year, you're still guessing when the leap year will be. So the actual date will still be off.
Recommended Posts