Up to [LON-CAPA] / loncom / interface
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Current tag: version_2_7_X
Backport 1.72.
Removing use of Apache::lonlocal::getdatelocale() for 2.7.X.
Bugs: 5792 and 5798. - Uses DateTime, DateTime::Locale, DateTime::Locale::Catalog. - Disposition of events in calendar display now consistent with current time zone. - Timezone in effect is displayed in Calendar header line. - First day of week determined from date localization in effect. - Extra empty row eliminated from end of calendar. - Default date localization can be set for domain from Default auth/language/timezone section of Domain Configuration. - Date localization can also be set for a specific course via "Set Course environement". - When in course context, course-specific date localization applies (if set), otherwise default date localization of domain of course (if set). In other contexts, date localization of domain of user (if set) applies. - Currently date localization is only used to determine starting day of the week (for building calendar display). Future uses might consider date order/format for display of dates. - &timehash() and &maketime() routines in loncommon.pm modified to use time zones. - &nextday() routine in lonannounce.pm modified to correctly identify next day. - &getdatelocale() routine added to lonlocal.pm to retrieve date locale object.