Date Conversion Functions | World Anvil

Remove these ads. Join the Worldbuilders Guild

Date Conversion Functions

User Interface (UI) / User Experience (UX) · Calendars · Created by makonnen
closed
calendar-conversion date-conversion timelines dates
The ability to convert between different calendars and/or timelines is a clear and present need in many worlds. This is even hinted at in the timeline codex page at https://www.worldanvil.com/w/WorldAnvilCodex/a/timelines which talks about the Gregorian v Islamic calendar, for example, but WA doesn't support finding out what a specific date in one calendar (after year I) is in another, if they are not in synch (meaning, say, one is Gregorina, the other Lunar).   I don't know enough about WA's code architecture to suggest *how* to implement, but a notion where you could have an inline function where you passed a date in common time and it returned that date in the calendar of your choice would work.   Clearly, this would involve adding various bits of supporting data to each calendar to aid in the formatting (things like Excel-style formats along the lines of "dd of Mmm, YYYY" would be pretty great).   Bottom Line: a way to display March 13th, 2021 as Rajab 29, 1442 AH without doing the math myself.

The Team's Response

Closed due to reaching 20 days without enough support  

Feedback

Part of this request will be handled by Chronos, but the above, as is, is a flawed suggestion that assumed taht dating system can even be compared to the "real world" dating system.   In general Chronos will be handling dates by using "seconds" since common "X" starting point and a table of equivalencies for units of time, but this calculation would probably be quite heavy to just allow an on the spot conversion. This part is already being explorer.
Current score

76/300 Votes · +7460 points

Votes Cast