Download & Extend

Use Drupal format_date() instead of date() to support better localization

Project:Delivery time slots for Ubercart
Version:6.x-1.0-beta4
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Issue tags:locale issue

Issue Summary

The module doesn't make use of Drupal core's format_date() to output the timeslot table, which breaks some functionalities in multilingual systems.

Comments

#1

Status:active» needs review

Here is a patch to resolve the above issue. It also pass the default time slots through the t() function since they are translatable in some locales.

AttachmentSize
970768-uc_deliverytimeslot-format_date.d6.patch 2.26 KB

#2

Title:Use Drupal format_date() instead of date() to support localization» Use Drupal format_date() instead of date() to support better localization

Updating the title :)