Closed (outdated)
Project:
Calendar Systems
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Sep 2010 at 07:35 UTC
Updated:
5 Jul 2026 at 12:19 UTC
Jump to comment: Most recent
Comments
Comment #1
sinasalek commentedMarked
Comment #2
sinasalek commentedMarked
Comment #3
sinasalek commentedAnother better idea is introducing some hooks to let third party module take care of implementing different calendar systems
CTools plugin system seems to be more appropriate than hook http://ygerasimov.com/ctools-plugins-system
Comment #4
sinasalek commentedMoving to 3.x roadmap
Comment #5
sinasalek commentedComment #6
sinasalek commentedAdding new tag
Comment #7
sinasalek commentedComment #8
sinasalek commentedMerging #838676: Integration Date Module API & Calendar Systems with this issue, the decision has be made to either make date modules' backend date class into a multicalendar backend or develop a new class and plugin system for calendar systems
Comment #9
sinasalek commentedComment #10
sinasalek commentedComment #11
sinasalek commentedComment #12
sinasalek commentedComment #13
sinasalek commentedComment #14
sinasalek commentedComment #15
sinasalek commentedComment #16
sinasalek commentedComment #17
sinasalek commentedComment #18
sinasalek commentedGood news, the Drupal8 port will use a DateTime based multi calendar system using Carbon+Intl(ICU library)
Comment #19
sinasalek commentedComment #20
sinasalek commentedComment #21
hkoosha commentedThere were some issues with intl, I can exactly remember. But I think it was about reading the dates back in widgets and elements. Intl translates everything but can't parse translated date strings.
Drupal itself uses some crazy regex to extract month/day names, translate them and put the date parts back together.
So for now we have
CALENDAR_SYSTEMS_USE_INTLset tofalseincalendar_systems.moduleComment #22
hkoosha commentedoops, this is the 7.x branch.
Comment #23
sinasalek commentedYes the translation can be problematic
Comment #24
hkoosha commentedMoving on, let's focus on D9
Comment #25
hkoosha commentedUndo. turns out there can't be a 9.x branch, yet.
Comment #26
hkoosha commentedComment #27
hkoosha commentedComment #28
hkoosha commentedComment #29
doxigo commented