Skip to content

Commit

Permalink
removes 0 from beginning of the day
Browse files Browse the repository at this point in the history
  • Loading branch information
183amir committed Jan 25, 2015
1 parent aef3326 commit 141e893
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.

AC_INIT(gahshomar, 4.3.1)
AC_INIT(gahshomar, 4.3.2)

AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS([config.h])
Expand Down
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
gahshomar (4.3.0-1~trusty) trusty; urgency=low
gahshomar (4.3.2-1~trusty) trusty; urgency=low

* Initial release

Expand Down
3 changes: 3 additions & 0 deletions frontend/applet/gnome-shell/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ const Gahshomar = new Lang.Class({

_update: function() {
text = this._proxy.GetDaySync()[0]
if (text[0] == '۰') {
text = text.slice(1);
}
this.label.set_text(text)
text = this._proxy.GetDateSync()[0]
this.popopMenuItemDate.label.set_text(text)
Expand Down

0 comments on commit 141e893

Please sign in to comment.