fix(date): Do not override get_output

This commit is contained in:
Michael Carlberg 2016-10-30 06:18:33 +01:00
parent d5515ebcb0
commit d8c309ec35

View File

@ -39,17 +39,17 @@ namespace modules {
return true;
}
string get_output() {
bool build(builder* builder, string tag) const {
if (tag != TAG_DATE) {
return false;
}
if (!m_formatalt.empty())
m_builder->cmd(mousebtn::LEFT, EVENT_TOGGLE);
m_builder->node(timer_module::get_output());
return m_builder->flush();
}
bool build(builder* builder, string tag) const {
if (tag == TAG_DATE)
builder->node(m_buffer);
return tag == TAG_DATE;
builder->node(m_buffer);
return true;
}
bool handle_event(string cmd) {