You are here

function hijri_update_7003 in Hijri 7

@file Mostly The hook_update_7003().

This will fix our (medium - short) format to have d/m insteaf of the m/d.

File

./hijri.install, line 60
This module convert to Hijri date in nodes,comments and a block.

Code

function hijri_update_7003() {
  variable_set('date_format_medium', 'D, d/m/Y - H:i');
  variable_set('date_format_short', 'd/m/Y - H:i');
}