Closed (fixed)
Project:
Ubercart
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2011 at 00:19 UTC
Updated:
18 May 2011 at 16:21 UTC
D7 provides better date formatting facilities, so Ubercart should make use of them.
| Comment | File | Size | Author |
|---|---|---|---|
| d7-date-api.patch | 18.16 KB | longwave |
Comments
Comment #1
tr commentedLooks like a good thing to do. Patch applies and seems to work. One question - wouldn't it be better to use uc_store_date_format for the new variable name instead of date_format_uc_store ?
Comment #2
longwavedate_format_TYPE is the variable used by Drupal core, where TYPE is the key from hook_date_format_types(). The UI for setting this variable is at /admin/config/regional/date-time.
Comment #3
tr commentedOK.
Comment #4
tr commentedWhile you're at it - does this address #632882: Time format is hard coded in order comments ?
Comment #5
longwaveNo, it doesn't change that format. Perhaps we should use "short" date format for the comments and inject a line break?
Comment #6
longwaveCommitted anyway, let's fix the time format in that separate issue.