src/Khayyam/DateTime.php
public function modify($time)
	{
		// now
		if (empty($time) || $time === 'now')
		{
			$this->timestamp = time();

			return $this;
		}
		// @1212132132
		/*elseif (preg_match('#^@(\d+)$#', $time, $matched))
		{
			$this->timestamp = $matched[1];

			return $this;
		}*/

		$parsed = date_parse($time);

		$timestamp = $relativeTimestamp = 0;

		if ($this->hasAnyTime($parsed))
		{
			$timestamp = static::parseJalaliDateInfoToUTCTimestamp($parsed);
		}
		else
		{
			$timestamp = $this->timestamp ?: time();
		}
		
		if ($this->hasRelativeTime($parsed))
		{
			$relativeTimestamp = $this->parseRelative($parsed);
		}

		if ($parsed['is_localtime'] !== false)
		{
			$this->timestamp = $relativeTimestamp;

			return $this;
		}

		$this->timestamp = $timestamp + $relativeTimestamp;

		return $this;
	}
public function modify($time)
	{
		// now
		if (empty($time) || $time === 'now')
		{
			$this->timestamp = time();

			return $this;
		}
		// @1212132132
		/*elseif (preg_match('#^@(\d+)$#', $time, $matched))
		{
			$this->timestamp = $matched[1];

			return $this;
		}*/

		$parsed = date_parse($time);

		$timestamp = $relativeTimestamp = 0;

		if ($this->hasAnyTime($parsed))
		{
			$timestamp = static::parseJalaliDateInfoToUTCTimestamp($parsed);
		}
		else
		{
			$timestamp = $this->timestamp ?: time();
		}
		
		if ($this->hasRelativeTime($parsed))
		{
			$relativeTimestamp = $this->parseRelative($parsed);
		}

		if ($parsed['is_localtime'] !== false)
		{
			$this->timestamp = $relativeTimestamp;

			return $this;
		}

		$this->timestamp = $timestamp + $relativeTimestamp;

		return $this;
	}
/*public static function getLastErrors()
{

}