The Week days not displayed when select date format contains week days, it only display the format char.

Steps to reproduce:

- Add date field and select hijri date in field display.

- Select date format that contains week days like "long or medium".

- Create node and see the display you will see the format char in stead of the text representation of the day.

CommentFileSizeAuthor
#2 week_days_in_date-2872909-2.patch860 byteshussainweb

Comments

mhmd created an issue. See original summary.

hussainweb’s picture

Status: Active » Needs review
StatusFileSize
new860 bytes

This patch works for me. A quick review would help. I can commit immediately.

mhmd’s picture

I downloaded the patch file inside taarikh module and tried to apply it, neither apply nor am worked it returns "Patch format detection failed."

See below:

modules/contrib/taarikh$ git am --ignore-whitespace week_days_in_date-2872909-2.patch
Patch format detection failed.

modules/contrib/taarikh$ git apply week_days_in_date-2872909-2.patch
Nothing

hussainweb’s picture

@mhmd, see if you are on the latest dev release. Also, `git apply` does not output anything if the patch is successfully applied. Did you see if the file taarikh_api.module was modified?

mhmd’s picture

I am using 7.x-1.x-dev, git status didn't show any modifications.

  • hussainweb committed e0dbbd7 on 7.x-1.x
    Issue #2872909 by hussainweb: Week days in date format not displayed
    
hussainweb’s picture

Status: Needs review » Fixed

I am just going to mark this as fixed as it is working. @mhmd, please download a fresh dev release and try again.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.